Class CommandHaltException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.orbyfied.j8.command.exception.CommandException
net.orbyfied.j8.command.exception.CommandHaltException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class net.orbyfied.j8.command.exception.CommandException
rootCommand -
Constructor Summary
ConstructorsConstructorDescriptionCommandHaltException(Node rootCommand, String message) CommandHaltException(Node rootCommand, String msg, Throwable e) CommandHaltException(Node rootCommand, Throwable e) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSevere()Determines if it should be printed to the console and handled like a real, severe error.booleansetSuccessful(boolean success) Methods inherited from class net.orbyfied.j8.command.exception.CommandException
getErrorName, getFormattedPrefix, getFormattedString, getFormattedSuffix, getRootCommandMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandHaltException
-
CommandHaltException
-
CommandHaltException
-
-
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.
-
isSuccessful
public boolean isSuccessful() -
setSuccessful
-