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
,InvalidPackageException
The top-level
Exception
that is thrown for everything regarding DIH4JDA.- See Also:
-
Constructor Summary
ConstructorDescriptionDIH4JDAException
(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 aString
you want to provide for the user.
-
DIH4JDAException
Creates a new instance of this exception if it was caused by anotherThrowable
.- Parameters:
cause
- theThrowable
that caused theDIH4JDAException
.
-