Package xyz.dynxsty.dih4jda.exceptions
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,InvalidConfigurationException,InvalidPackageException
The top-level
Exception that is thrown for everything regarding DIH4JDA.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDIH4JDAException(String message) Creates a new instance of this exception.DIH4JDAException(Throwable cause) Creates a new instance of this exception if it was caused by anotherThrowable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DIH4JDAException
Creates a new instance of this exception.- Parameters:
message- the message as aStringyou want to provide for the user.
-
DIH4JDAException
Creates a new instance of this exception if it was caused by anotherThrowable.- Parameters:
cause- theThrowablethat caused theDIH4JDAException.
-