Package org.eclipse.jetty.http
Class BadMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.http.BadMessageException
- All Implemented Interfaces:
Serializable
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:
-
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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadMessageException
public BadMessageException() -
BadMessageException
public BadMessageException(int code) -
BadMessageException
-
BadMessageException
-
BadMessageException
-
BadMessageException
-
-
Method Details
-
getCode
public int getCode() -
getReason
-