Class InternalException
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.InternalException
- All Implemented Interfaces:
Serializable
Will be thrown if anything goes wrong internally. Should be reported to the devs.
- See Also:
-
Field Summary
Fields inherited from class com.github.kaktushose.jda.commands.exceptions.internal.JDACException
errorMessages -
Constructor Summary
ConstructorsConstructorDescriptionInternalException(String key) InternalException(String key, Entry... placeholder) InternalException(String key, Throwable cause) -
Method Summary
Methods inherited from class com.github.kaktushose.jda.commands.exceptions.internal.JDACException
errorMessage, errorMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InternalException
- Parameters:
key- the bundle key of the error message
-
InternalException
-
InternalException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-