Class CommandNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.spongepowered.api.util.ComponentMessageException
org.spongepowered.api.command.exception.CommandException
org.spongepowered.api.command.exception.CommandNotFoundException
- All Implemented Interfaces:
Serializable, ComponentMessageThrowable
This exception is thrown when a sender tries to execute a command that does
not exist.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandNotFoundException(Component message, String command) Create an exception with a custom message. -
Method Summary
Methods inherited from class CommandException
shouldIncludeUsageMethods inherited from class ComponentMessageException
componentMessage, getLocalizedMessage, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandNotFoundException
-
-
Method Details
-
command
-