public class ArgumentTypeInvalidException extends ArgumentException
Constructor and Description |
---|
ArgumentTypeInvalidException()
Initializes a new instance of the
ArgumentTypeInvalidException class. |
ArgumentTypeInvalidException(String parameterName)
Initializes a new instance of the
ArgumentTypeInvalidException
class with the name of the parameter that causes this exception. |
ArgumentTypeInvalidException(String message,
RuntimeException inner)
Initializes a new instance of the
ArgumentTypeInvalidException
class with a specified error message and a reference to the inner
exception that is the cause of this exception. |
ArgumentTypeInvalidException(String message,
String parameterName)
Initializes a new instance of the
ArgumentTypeInvalidException
class with a specified error message and the name of the parameter
that causes this exception. |
ArgumentTypeInvalidException(String message,
String parameterName,
RuntimeException inner)
Initializes a new instance of the
ArgumentTypeInvalidException
class with a specified error message, the parameter name, and a
reference to the inner exception that is the cause of this
exception. |
getMessage, getParamName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ArgumentTypeInvalidException()
ArgumentTypeInvalidException
class.public ArgumentTypeInvalidException(String parameterName)
ArgumentTypeInvalidException
class with the name of the parameter that causes this exception.parameterName
- The name of the parameter that caused the exception.public ArgumentTypeInvalidException(String message, RuntimeException inner)
ArgumentTypeInvalidException
class with a specified error message and a reference to the inner
exception that is the cause of this exception.message
- The error message that explains the reason for the exception.inner
- The exception that is the cause of the current exception.public ArgumentTypeInvalidException(String message, String parameterName)
ArgumentTypeInvalidException
class with a specified error message and the name of the parameter
that causes this exception.message
- The error message that explains the reason for the exception.parameterName
- The name of the parameter that caused the current exception.public ArgumentTypeInvalidException(String message, String parameterName, RuntimeException inner)
ArgumentTypeInvalidException
class with a specified error message, the parameter name, and a
reference to the inner exception that is the cause of this
exception.message
- The error message that explains the reason for the exception.parameterName
- The name of the parameter that caused the current exception.inner
- The exception that is the cause of the current exception.