(Inherits from MfArgumentException)
The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
Name |
Description |
|
Initializes a new instance of the MfArgumentOutOfRangeException class. |
||
Initializes a new instance of MfArgumentOutOfRangeException class with the name of the parameter that causes this exception. |
||
Initializes a new instance of MfArgumentOutOfRangeException class with the name of the parameter that causes this exception and a specified error message. |
||
Initializes a new instance of MfArgumentOutOfRangeException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Name |
Description |
|
Gets the argument value that causes this exception |
||
Gets the Data value associated with the this instance as MfDictionary object. Inherits from MfException |
||
Gets or sets the File name the error occur in. Inherits from MfException |
||
Gets or sets a link to the help file associated with this exception. Inherits from MfException |
||
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. Inherits from MfException |
||
Gets the MfException instance or derived exception that caused the current exception. Inherits from MfException |
||
Gets or sets the Line the error occur on. Inherits from MfException |
||
Gets the error message and the string representation of the invalid argument value, or only the error message if the argument value is null. |
||
Gets the name of the parameter that causes this exception. Inherited From MfArgumentException |
||
Gets or sets the name of the application or the object that causes the error. Inherits from MfException |
Name |
Description |
|
Adds MfAttribute extended items to extended classes. Inherited from MfObject. |
||
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. Overrides MfObject.CompareTo() |
||
Compares obj to current instance to see if they are the same. Inherited from MfObject. |
||
Gets an MfAttribute of the class. Inherited from MfObject. |
||
Gets a MfGenericList of MfAttribute that Contains the attributes for the current class instance. Inherited from MfObject. |
||
Gets A hash code for the current MfException or derived class. Overrides MfObject.GethashCode(). |
||
Gets the zero-based index value of the position of MfAttribute within the instance of the class. Inherited from MfObject. |
||
Gets the Type for the for the Class .Inherited from MfObject. |
||
Gets if the current instance of class derived from MfSystemException has MfAttribute. Inherited from MfObject. |
||
Gets if current instance of object is of the same type. Inherited from MfObject. Inherited from MfObject. |
||
Get if the current class is an instance. Inherited from MfObject. |
||
Creates a shallow copy of the current MfObject instance. Inherited from MfObject. |
||
Sets File to MfString.Empty. Sets Line to 0. Sets Source to null. Inherited from MfException |
||
Sets File to the value of file Line is unchanged. Source is unchanged. Inherited from MfException |
||
Sets File to the value of file. Sets Line to the value of line. Source is unchanged. Inherited from MfException |
||
Sets File to the value of file. Sets Line to the value of line. Sets Source to the value of source. Inherited from MfException |
||
Creates and returns a string representation of the current MfException. Overrides MfObject.ToString(). |
||
Verifies the the current object is set to an instance. Inherited from MfObject. |
||
VerifyIsNotInstance([MethodName, LineFile, LineNumber, Source]) |
Verifies the the current object is NOT set to an instance. Used in Static methods. Inherited from MfObject. |
str := MfString("Hello World") ; str will be null as we did not use a new constructor
GetFile(strFile)
{
iLen := StrLen(strFile)
if (iLen > 256) {
err := new MfArgumentOutOfRangeException("strFile", strFile, "File name is too long.")
err.Source := A_ThisFunc
throw err
}
; do other processing
}