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:
java.io.Serializable
public class BadMessageException extends java.lang.RuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadMessageException()
BadMessageException(int code)
BadMessageException(int code, java.lang.String reason)
BadMessageException(int code, java.lang.String reason, java.lang.Throwable cause)
BadMessageException(java.lang.String reason)
BadMessageException(java.lang.String reason, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
java.lang.String
getReason()
-
-
-
Constructor Detail
-
BadMessageException
public BadMessageException()
-
BadMessageException
public BadMessageException(int code)
-
BadMessageException
public BadMessageException(java.lang.String reason)
-
BadMessageException
public BadMessageException(java.lang.String reason, java.lang.Throwable cause)
-
BadMessageException
public BadMessageException(int code, java.lang.String reason)
-
BadMessageException
public BadMessageException(int code, java.lang.String reason, java.lang.Throwable cause)
-
-