Package org.eclipse.jetty.http
Class BadMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.http.HttpException.RuntimeException
org.eclipse.jetty.http.BadMessageException
- All Implemented Interfaces:
Serializable
,HttpException
,QuietException
Exception thrown to indicate a Bad HTTP Message has either been received or attempted to be generated. Typically these are handled with either 400 responses.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpException
HttpException.IllegalArgumentException, HttpException.RuntimeException
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.QuietException
QuietException.Exception
-
Constructor Summary
ConstructorDescriptionBadMessageException
(int code) BadMessageException
(int code, String reason) BadMessageException
(int code, String reason, Throwable cause) BadMessageException
(String reason) BadMessageException
(String reason, Throwable cause) -
Method Summary
Methods inherited from class org.eclipse.jetty.http.HttpException.RuntimeException
getCode, getReason
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadMessageException
public BadMessageException() -
BadMessageException
-
BadMessageException
-
BadMessageException
public BadMessageException(int code) -
BadMessageException
-
BadMessageException
-