public class ServerCommandException extends ServerException
Modifier | Constructor and Description |
---|---|
protected |
ServerCommandException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
Command command,
CommandSender commandSender,
String[] arguments) |
|
ServerCommandException(String message,
Throwable cause,
Command command,
CommandSender commandSender,
String[] arguments) |
|
ServerCommandException(Throwable cause,
Command command,
CommandSender commandSender,
String[] arguments) |
Modifier and Type | Method and Description |
---|---|
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
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServerCommandException(String message, Throwable cause, Command command, CommandSender commandSender, String[] arguments)
public ServerCommandException(Throwable cause, Command command, CommandSender commandSender, String[] arguments)
protected ServerCommandException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Command command, CommandSender commandSender, String[] arguments)
public Command getCommand()
public CommandSender getCommandSender()
public String[] getArguments()
Copyright © 2021. All rights reserved.