Package org.eclipse.jetty.start
Class UsageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jetty.start.UsageException
-
- All Implemented Interfaces:
java.io.Serializable
public class UsageException extends java.lang.RuntimeExceptionA Usage Error has occurred. Print the usage and exit with the appropriate exit code.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intERR_BAD_ARGstatic intERR_BAD_GRAPHstatic intERR_BAD_STOP_PROPSstatic intERR_INVOKE_MAINstatic intERR_LOGGINGstatic intERR_NOT_STOPPEDstatic intERR_UNKNOWN
-
Constructor Summary
Constructors Constructor Description UsageException(int exitCode, java.lang.String message)UsageException(int exitCode, java.lang.String format, java.lang.Object... objs)UsageException(int exitCode, java.lang.Throwable cause)UsageException(java.lang.String format, java.lang.Object... objs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetExitCode()
-
-
-
Field Detail
-
ERR_LOGGING
public static final int ERR_LOGGING
- See Also:
- Constant Field Values
-
ERR_INVOKE_MAIN
public static final int ERR_INVOKE_MAIN
- See Also:
- Constant Field Values
-
ERR_NOT_STOPPED
public static final int ERR_NOT_STOPPED
- See Also:
- Constant Field Values
-
ERR_BAD_ARG
public static final int ERR_BAD_ARG
- See Also:
- Constant Field Values
-
ERR_BAD_GRAPH
public static final int ERR_BAD_GRAPH
- See Also:
- Constant Field Values
-
ERR_BAD_STOP_PROPS
public static final int ERR_BAD_STOP_PROPS
- See Also:
- Constant Field Values
-
ERR_UNKNOWN
public static final int ERR_UNKNOWN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UsageException
public UsageException(int exitCode, java.lang.String message)
-
UsageException
public UsageException(int exitCode, java.lang.String format, java.lang.Object... objs)
-
UsageException
public UsageException(java.lang.String format, java.lang.Object... objs)
-
UsageException
public UsageException(int exitCode, java.lang.Throwable cause)
-
-