Class DiscordHookException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sacredlabyrinth.phaed.simpleclans.hooks.discord.exceptions.DiscordHookException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CategoriesLimitException,ChannelExistsException,ChannelsLimitException,InvalidChannelException
Superclass of all discord exceptions
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDiscordHookException(String debugMessage) DiscordHookException(String debugMessage, String messageKey) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DiscordHookException
-
DiscordHookException
-
-
Method Details
-
getMessageKey
- Returns:
- message key or null if this key is not used in-game
-