Class InvalidNameSpacedKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nl.pim16aap2.animatedarchitecture.core.exceptions.InvalidNameSpacedKeyException
- All Implemented Interfaces:
Serializable
Thrown when a
NamespacedKey is invalid.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidNameSpacedKeyException(String message) Creates a newInvalidNameSpacedKeyExceptionwith the given message.InvalidNameSpacedKeyException(String message, Throwable cause) Creates a newInvalidNameSpacedKeyExceptionwith the given message and cause. -
Method Summary
Modifier and TypeMethodDescriptionFormats the message with the given arguments.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidNameSpacedKeyException
Creates a newInvalidNameSpacedKeyExceptionwith the given message.- Parameters:
message- The message of the exception.
-
InvalidNameSpacedKeyException
Creates a newInvalidNameSpacedKeyExceptionwith the given message and cause.- Parameters:
message- The message of the exception.cause- The cause of the exception.
-
-
Method Details
-
format
Formats the message with the given arguments.This method is a shortcut for
String.format(String, Object...).- Parameters:
message- The message to format.args- The arguments to format the message with.- Returns:
- The formatted exception.
-