Package space.arim.dazzleconf.error
Class MissingKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
space.arim.dazzleconf.error.InvalidConfigException
space.arim.dazzleconf.error.ImproperEntryException
space.arim.dazzleconf.error.MissingKeyException
- All Implemented Interfaces:
Serializable
Indicates a specific key does not exist
- Author:
- A248
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MissingKeyExceptionCreates the exception using the given keystatic MissingKeyExceptionforKeyAndMessage(String key, CharSequence message) Creates the exception with the given key and messagestatic MissingKeyExceptionforKeyAndMessage(String key, String message) Creates the exception with the given key and messageMethods inherited from class space.arim.dazzleconf.error.ImproperEntryException
getKeyMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
forKey
Creates the exception using the given key- Parameters:
key- the key- Returns:
- the exception
- Throws:
NullPointerException- ifkeyis null
-
forKeyAndMessage
Creates the exception with the given key and message- Parameters:
key- the keymessage- the message- Returns:
- the exception
- Throws:
NullPointerException- ifkeyormessageis null
-
forKeyAndMessage
Creates the exception with the given key and message- Parameters:
key- the keymessage- the message- Returns:
- the exception
- Throws:
NullPointerException- ifkeyormessageis null
-