public class ArgumentOutOfRangeException extends ArgumentException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getActualValue()
Gets the argument value that causes this exception.
|
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.