Package xyz.dynxsty.dih4jda.exceptions
Class CommandNotRegisteredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
xyz.dynxsty.dih4jda.exceptions.DIH4JDAException
xyz.dynxsty.dih4jda.exceptions.CommandNotRegisteredException
- All Implemented Interfaces:
Serializable
An exception that is thrown if a command is not registered by the
DIH4JDA instance.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandNotRegisteredException(String message) Creates a new instance of this exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandNotRegisteredException
Creates a new instance of this exception.- Parameters:
message- the message as aStringyou want to provide for the user.
-