72 lines
2.2 KiB
C#
72 lines
2.2 KiB
C#
|
|
/*
|
|||
|
|
RangeRestrictedIntProperty.InvalidRangeException.cs
|
|||
|
|
|
|||
|
|
$Log: RangeRestrictedIntProperty.InvalidRangeException.cs,v $
|
|||
|
|
Revision 1.1 2007/12/13 23:57:33 Paul Hrissikopoulos
|
|||
|
|
Added ISO raw format.
|
|||
|
|
|
|||
|
|
Copyright <EFBFBD> 2007
|
|||
|
|
Diversified Technical Systems, Inc.
|
|||
|
|
All Rights Reserved
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Text;
|
|||
|
|
|
|||
|
|
namespace DTS.Common.Utilities.DotNetProgrammingConstructs
|
|||
|
|
{
|
|||
|
|
// See "RangeRestrictedIntProperty.cs"
|
|||
|
|
public partial class RangeRestrictedIntProperty
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// A class representation for range-restricted integer property
|
|||
|
|
/// range exceptions.
|
|||
|
|
/// </summary>
|
|||
|
|
public class InvalidRangeException
|
|||
|
|
: System.Exception
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Initialize an instance of the
|
|||
|
|
/// RangeRestrictedIntProperty.InvalidRangeException class.
|
|||
|
|
/// </summary>
|
|||
|
|
public InvalidRangeException()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Initialize an instance of the
|
|||
|
|
/// RangeRestrictedIntProperty.InvalidRangeException class.
|
|||
|
|
/// </summary>
|
|||
|
|
///
|
|||
|
|
/// <param name="msg">
|
|||
|
|
/// The <see cref="string"/> message describing this exception instance.
|
|||
|
|
/// </param>
|
|||
|
|
///
|
|||
|
|
public InvalidRangeException(string msg)
|
|||
|
|
: base(msg)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Initialize an instance of the
|
|||
|
|
/// RangeRestrictedIntProperty.InvalidRangeException class.
|
|||
|
|
/// </summary>
|
|||
|
|
///
|
|||
|
|
/// <param name="msg">
|
|||
|
|
/// The <see cref="string"/> message describing this exception instance.
|
|||
|
|
/// </param>
|
|||
|
|
///
|
|||
|
|
/// <param name="innerEx">
|
|||
|
|
/// The inner <see cref="System.Exception"/> behind this enclosing
|
|||
|
|
/// exception instance.
|
|||
|
|
/// </param>
|
|||
|
|
///
|
|||
|
|
public InvalidRangeException(string msg, System.Exception innerEx)
|
|||
|
|
: base(msg, innerEx)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|