Class CommandParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.orbyfied.j8.command.exception.CommandException
net.orbyfied.j8.command.exception.CommandParseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NodeParseException
- See Also:
-
Field Summary
FieldsFields inherited from class net.orbyfied.j8.command.exception.CommandException
rootCommand -
Constructor Summary
ConstructorsConstructorDescriptionCommandParseException(Node rootCommand, ErrorLocation loc, Exception e) CommandParseException(Node rootCommand, ErrorLocation loc, String message) CommandParseException(Node rootCommand, ErrorLocation loc, String msg, Exception e) -
Method Summary
Methods inherited from class net.orbyfied.j8.command.exception.CommandException
getFormattedPrefix, getFormattedSuffix, getRootCommandMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
location
-
-
Constructor Details
-
CommandParseException
-
CommandParseException
-
CommandParseException
-
-
Method Details
-
isSevere
public boolean isSevere()Description copied from class:CommandExceptionDetermines if it should be printed to the console and handled like a real, severe error.- Overrides:
isSeverein classCommandException- Returns:
- True/false.
-
getLocation
-
getErrorName
- Overrides:
getErrorNamein classCommandException
-
getFormattedString
- Overrides:
getFormattedStringin classCommandException
-
getLocationString
-