public class KeyNotFoundException extends RuntimeException
| Constructor and Description |
|---|
KeyNotFoundException()
Initializes a new instance of the
KeyNotFoundException class using default
property values. |
KeyNotFoundException(String message)
Initializes a new instance of the
KeyNotFoundException class with the
specified error message. |
KeyNotFoundException(String message,
Exception cause)
Initializes a new instance of the
KeyNotFoundException class with the
specified error message and a reference to the inner exception that is the cause of
this exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KeyNotFoundException()
KeyNotFoundException class using default
property values.public KeyNotFoundException(String message)
KeyNotFoundException class with the
specified error message.message - The message that describes the error.public KeyNotFoundException(String message, Exception cause)
KeyNotFoundException class with the
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.cause - The exception that is the cause of the current exception.