Class DIH4JDAException

java.lang.Object
java.lang.Throwable
java.lang.Exception
xyz.dynxsty.dih4jda.exceptions.DIH4JDAException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommandNotRegisteredException, DIH4JDAReflectionException, InvalidPackageException

public class DIH4JDAException extends Exception
The top-level Exception that is thrown for everything regarding DIH4JDA.
See Also:
  • Constructor Details

    • DIH4JDAException

      public DIH4JDAException(@Nonnull String message)
      Creates a new instance of this exception.
      Parameters:
      message - the message as a String you want to provide for the user.
    • DIH4JDAException

      public DIH4JDAException(@Nonnull Throwable cause)
      Creates a new instance of this exception if it was caused by another Throwable.
      Parameters:
      cause - the Throwable that caused the DIH4JDAException.