public class CommandSyntaxException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static BuiltInExceptionProvider |
BUILT_IN_EXCEPTIONS |
static int |
CONTEXT_AMOUNT |
static boolean |
ENABLE_COMMAND_STACK_TRACES |
| Constructor and Description |
|---|
CommandSyntaxException(CommandExceptionType type,
Message message) |
CommandSyntaxException(CommandExceptionType type,
Message message,
String input,
int cursor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContext() |
int |
getCursor() |
String |
getInput() |
String |
getMessage() |
Message |
getRawMessage() |
CommandExceptionType |
getType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int CONTEXT_AMOUNT
public static boolean ENABLE_COMMAND_STACK_TRACES
public static BuiltInExceptionProvider BUILT_IN_EXCEPTIONS
public CommandSyntaxException(CommandExceptionType type, Message message)
public CommandSyntaxException(CommandExceptionType type, Message message, String input, int cursor)
public String getMessage()
getMessage in class Throwablepublic Message getRawMessage()
public String getContext()
public CommandExceptionType getType()
public String getInput()
public int getCursor()
Copyright © 2018. All rights reserved.