java.io.SerializableServerTabCompleteExceptionpublic class ServerCommandException extends ServerException
| Modifier | Constructor | Description |
|---|---|---|
protected |
ServerCommandException(java.lang.String message,
java.lang.Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
Command command,
CommandSender commandSender,
java.lang.String[] arguments) |
|
|
ServerCommandException(java.lang.String message,
java.lang.Throwable cause,
Command command,
CommandSender commandSender,
java.lang.String[] arguments) |
|
|
ServerCommandException(java.lang.Throwable cause,
Command command,
CommandSender commandSender,
java.lang.String[] arguments) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
getArguments() |
Gets the arguments which threw the exception for the command
|
Command |
getCommand() |
Gets the command which threw the exception
|
CommandSender |
getCommandSender() |
Gets the command sender which executed the command request
|
public ServerCommandException(java.lang.String message,
java.lang.Throwable cause,
Command command,
CommandSender commandSender,
java.lang.String[] arguments)
public ServerCommandException(java.lang.Throwable cause,
Command command,
CommandSender commandSender,
java.lang.String[] arguments)
protected ServerCommandException(java.lang.String message,
java.lang.Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
Command command,
CommandSender commandSender,
java.lang.String[] arguments)
public Command getCommand()
public CommandSender getCommandSender()
public java.lang.String[] getArguments()
Copyright © 2018. All rights reserved.