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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected int -
Constructor Summary
ConstructorsConstructorDescriptionCliException(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
exitCode
protected int exitCode -
DEFAULT_EXCEPTION_EXIT_CODE
protected static final int DEFAULT_EXCEPTION_EXIT_CODE- See Also:
-
-
Constructor Details
-
CliException
-
CliException
-
CliException
-
CliException
-
CliException
-
CliException
-
-
Method Details
-
getExitCode
public int getExitCode()
-