| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //
- // System.ArgumentOutOfRangeException.cs
- //
- // Author:
- // Joe Shaw ([email protected])
- //
- // (C) 2001 Ximian, Inc. http://www.ximian.com
- //
- namespace System {
- public class ArgumentOutOfRangeException : ArgumentException {
- private object actual_value;
- // Constructors
- public ArgumentOutOfRangeException ()
- : base ("Argument is out of range")
- {
- }
- public ArgumentOutOfRangeException (string param_name)
- : base ("Argument is out of range", param_name)
- {
- }
- public ArgumentOutOfRangeException (string param_name, string message)
- : base (message, param_name)
- {
- }
- public ArgumentOutOfRangeException (string param_name, object actual_value, string message)
- : base (message, param_name)
- {
- this.actual_value = actual_value;
- }
- // Properties
- public virtual object ActualValue {
- get {
- return actual_value;
- }
- }
- }
- }
|