public class CommandPermissionException extends CommandException
Constructor and Description |
---|
CommandPermissionException()
Create an exception with the default message.
|
CommandPermissionException(Text message)
Create a permissions exception with a custom message.
|
CommandPermissionException(Text message,
Throwable cause)
Create a permissions exception with a custom message and cause.
|
shouldIncludeUsage
getLocalizedMessage, getMessage, getText
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CommandPermissionException()
public CommandPermissionException(Text message)
message
- The message