public class ArgumentException extends SystemException
Constructor and Description |
---|
ArgumentException()
Initializes a new instance of the ArgumentException class.
|
ArgumentException(java.lang.String message)
Initializes a new instance of the ArgumentException class with a specified error message.
|
ArgumentException(java.lang.String message,
java.lang.RuntimeException innerException)
Initializes a new instance of the ArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.
|
ArgumentException(java.lang.String message,
java.lang.String paramName)
Initializes a new instance of the ArgumentException class with a specified error message and the name of the parameter that causes this exception.
|
public ArgumentException()
public ArgumentException(java.lang.String message)
message
- The error message that explains the reason for the exception.public ArgumentException(java.lang.String message, java.lang.RuntimeException innerException)
message
- The error message that explains the reason for the exception.innerException
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.public ArgumentException(java.lang.String message, java.lang.String paramName)
message
- The error message that explains the reason for the exception.paramName
- The name of the parameter that caused the current exception.