Package org.bukkit.command
Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bukkit.command.CommandException
- All Implemented Interfaces:
Serializable
Thrown when an unhandled exception occurs during the execution of a Command
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new instance ofCommandException
without detail message.CommandException
(String msg) Constructs an instance ofCommandException
with the specified detail message.CommandException
(String msg, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandException
public CommandException()Creates a new instance ofCommandException
without detail message. -
CommandException
Constructs an instance ofCommandException
with the specified detail message.- Parameters:
msg
- the detail message.
-
CommandException
-