2 // System.ArgumentOutOfRangeException.cs
5 // Joe Shaw (joe@ximian.com)
7 // (C) 2001 Ximian, Inc. http://www.ximian.com
10 using System.Globalization;
14 public class ArgumentOutOfRangeException : ArgumentException {
15 private object actual_value;
18 public ArgumentOutOfRangeException ()
19 : base (Locale.GetText ("Argument is out of range"))
23 public ArgumentOutOfRangeException (string param_name)
24 : base (Locale.GetText ("Argument is out of range"), param_name)
28 public ArgumentOutOfRangeException (string param_name, string message)
29 : base (message, param_name)
33 public ArgumentOutOfRangeException (string param_name, object actual_value, string message)
34 : base (message, param_name)
36 this.actual_value = actual_value;
40 public virtual object ActualValue {