Class InvalidDeclarationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.kaktushose.jda.commands.exceptions.internal.JDACException
com.github.kaktushose.jda.commands.exceptions.InvalidDeclarationException
- All Implemented Interfaces:
Serializable
Will be thrown if any errors are made in the declaration of interactions.
- See Also:
-
Field Summary
FieldsFields inherited from class com.github.kaktushose.jda.commands.exceptions.internal.JDACException
errorMessages
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.kaktushose.jda.commands.exceptions.internal.JDACException
errorMessage, errorMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
CONTEXT
-
-
Constructor Details
-
InvalidDeclarationException
- Parameters:
key
- the bundle key of the error message
-
InvalidDeclarationException
- Parameters:
key
- the bundle key of the error messageplaceholder
- the placeholders to insert
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-