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

public class DiscordHookException extends Exception
Superclass of all discord exceptions
See Also:
  • Constructor Details

    • DiscordHookException

      public DiscordHookException(String debugMessage)
    • DiscordHookException

      public DiscordHookException(String debugMessage, String messageKey)
  • Method Details

    • getMessageKey

      @Nullable public @Nullable String getMessageKey()
      Returns:
      message key or null if this key is not used in-game