Package org.eclipse.jetty.http
Class HttpException.RuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.http.HttpException.RuntimeException
- All Implemented Interfaces:
Serializable,HttpException,QuietException
- Direct Known Subclasses:
BadMessageException
- Enclosing interface:
- HttpException
public static class HttpException.RuntimeException
extends RuntimeException
implements HttpException
A RuntimeException version of HttpException.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpException
HttpException.IllegalArgumentException, HttpException.IllegalStateException, HttpException.RuntimeExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.io.QuietException
QuietException.Exception -
Constructor Summary
ConstructorsConstructorDescriptionRuntimeException(int code) RuntimeException(int code, String reason) RuntimeException(int code, String reason, Throwable cause) RuntimeException(int code, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuntimeException
public RuntimeException(int code) -
RuntimeException
-
RuntimeException
-
RuntimeException
-
-
Method Details
-
getCode
public int getCode()- Specified by:
getCodein interfaceHttpException
-
getReason
- Specified by:
getReasonin interfaceHttpException
-
asIllegalStateException
-