Package de.hsh.graja.util.cli
Class CommandException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.hsh.graja.util.cli.CommandException
-
- All Implemented Interfaces:
Serializable
public class CommandException extends Exception
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_MESSAGE
static int
DEFAULT_RETURN_CODE
-
Constructor Summary
Constructors Constructor Description CommandException()
CommandException(int returnCode)
CommandException(int returnCode, String message)
CommandException(int returnCode, String message, Throwable cause)
CommandException(int returnCode, Throwable cause)
CommandException(String message)
CommandException(String message, Throwable cause)
CommandException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getReturnCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
DEFAULT_RETURN_CODE
public static final int DEFAULT_RETURN_CODE
- See Also:
- Constant Field Values
-
DEFAULT_MESSAGE
public static final String DEFAULT_MESSAGE
-
-
Constructor Detail
-
CommandException
public CommandException(Throwable cause)
-
CommandException
public CommandException(int returnCode, Throwable cause)
-
CommandException
public CommandException(int returnCode, String message)
-
CommandException
public CommandException(String message)
-
CommandException
public CommandException()
-
CommandException
public CommandException(int returnCode)
-
-