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.RuntimeException
A 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 int
ERR_BAD_ARG
static int
ERR_BAD_GRAPH
static int
ERR_BAD_STOP_PROPS
static int
ERR_INVOKE_MAIN
static int
ERR_LOGGING
static int
ERR_NOT_STOPPED
static int
ERR_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 int
getExitCode()
-
-
-
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)
-
-