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
Exception thrown to indicate a Bad HTTP Message has either been received or attempted to be generated. Typically these are handled with either 400 or 500 responses.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface HttpException
HttpException.IllegalArgumentException, HttpException.RuntimeExceptionNested classes/interfaces inherited from interface 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 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
-