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 SummaryConstructorsConstructorDescriptionCreates a new instance ofCommandExceptionwithout detail message.CommandException(String msg) Constructs an instance ofCommandExceptionwith the specified detail message.CommandException(String msg, Throwable cause) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
CommandExceptionpublic CommandException()Creates a new instance ofCommandExceptionwithout detail message.
- 
CommandExceptionConstructs an instance ofCommandExceptionwith the specified detail message.- Parameters:
- msg- the detail message.
 
- 
CommandException
 
-