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:
- Serialized Form
-
Method Summary
Modifier and TypeMethodDescriptionstatic MissingKeyException
Creates the exception using the given keystatic MissingKeyException
forKeyAndMessage(String key, String message)
Creates the exception with the given key and messageMethods inherited from class space.arim.dazzleconf.error.ImproperEntryException
getKey
Methods 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
- ifkey
is null
-
forKeyAndMessage
Creates the exception with the given key and message- Parameters:
key
- the keymessage
- the message- Returns:
- the exception
- Throws:
NullPointerException
- ifkey
ormessage
is null
-