Class ServerCommandException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ServerTabCompleteException

public class ServerCommandException extends ServerException
Thrown when a command throws an exception
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getCommand

      public Command getCommand()
      Gets the command which threw the exception
      Returns:
      exception throwing command
    • getCommandSender

      public CommandSender getCommandSender()
      Gets the command sender which executed the command request
      Returns:
      command sender of exception thrown command request
    • getArguments

      public String[] getArguments()
      Gets the arguments which threw the exception for the command
      Returns:
      arguments of exception thrown command request