Class ConfigurationException
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.ConfigurationException
- All Implemented Interfaces:
Serializable
Will be thrown if anything goes wrong while configuring jda-commands.
- See Also:
-
Field Summary
Fields inherited from class com.github.kaktushose.jda.commands.exceptions.internal.JDACException
errorMessages
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationException
(String key, I18n.Entry... placeholder) ConfigurationException
(String key, Throwable cause) -
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
-
Constructor Details
-
ConfigurationException
- Parameters:
key
- the bundle key of the error message
-
ConfigurationException
- Parameters:
key
- the bundle key of the error messageplaceholder
- the placeholders to insert
-
ConfigurationException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-