Package space.arim.dazzleconf.error
Class MissingValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
space.arim.dazzleconf.error.InvalidConfigException
space.arim.dazzleconf.error.ImproperEntryException
space.arim.dazzleconf.error.MissingValueException
- All Implemented Interfaces:
Serializable
Indicates a value is nonexistent (e.g. null) at a specific key
- Author:
- A248
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MissingValueExceptionCreates the exception using the given keystatic MissingValueExceptionforKeyAndMessage(String key, CharSequence message) Creates the exception with the given key and messagestatic MissingValueExceptionforKeyAndMessage(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
-