|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
System.SystemException
System.ArgumentException
System.ArgumentOutOfRangeException
public class ArgumentOutOfRangeException
The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
Constructor Summary | |
---|---|
ArgumentOutOfRangeException()
Initializes a new instance of the ArgumentOutOfRangeException class. |
|
ArgumentOutOfRangeException(java.lang.String paramName)
Initializes a new instance of the ArgumentOutOfRangeException class with the name of the parameter that causes this exception. |
|
ArgumentOutOfRangeException(java.lang.String paramName,
java.lang.Object actualValue,
java.lang.String message)
Initializes a new instance of the ArgumentOutOfRangeException class with a specified error message, the parameter name, and the value of the argument. |
|
ArgumentOutOfRangeException(java.lang.String message,
java.lang.RuntimeException innerException)
Initializes a new instance of the ArgumentOutOfRangeException class with a specified error message and the exception that is the cause of this exception. |
|
ArgumentOutOfRangeException(java.lang.String paramName,
java.lang.String message)
Initializes a new instance of the ArgumentOutOfRangeException class with a specified error message and the name of the parameter that causes this exception. |
Method Summary | |
---|---|
java.lang.Object |
getActualValue()
Gets the argument value that causes this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArgumentOutOfRangeException()
public ArgumentOutOfRangeException(java.lang.String paramName)
paramName
- The name of the parameter that causes this exception.public ArgumentOutOfRangeException(java.lang.String message, java.lang.RuntimeException innerException)
message
- The error message that explains the reason for this exception.innerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.public ArgumentOutOfRangeException(java.lang.String paramName, java.lang.String message)
paramName
- The name of the parameter that caused the exception.message
- The message that describes the error.public ArgumentOutOfRangeException(java.lang.String paramName, java.lang.Object actualValue, java.lang.String message)
paramName
- The name of the parameter that caused the exception.actualValue
- The value of the argument that causes this exception.message
- The message that describes the error.Method Detail |
---|
public java.lang.Object getActualValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |