Package org.apache.zookeeper.cli
Class CliException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.zookeeper.cli.CliException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CliParseException,CliWrapperException,CommandNotFoundException,MalformedCommandException,MalformedPathException
public class CliException extends Exception
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static intDEFAULT_EXCEPTION_EXIT_CODEprotected intexitCode
-
Constructor Summary
Constructors Constructor Description CliException(String message)CliException(String message, int exitCode)CliException(String message, Throwable cause)CliException(String message, Throwable cause, int exitCode)CliException(Throwable cause)CliException(Throwable cause, int exitCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetExitCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
exitCode
protected int exitCode
-
DEFAULT_EXCEPTION_EXIT_CODE
protected static final int DEFAULT_EXCEPTION_EXIT_CODE
- See Also:
- Constant Field Values
-
-