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
@Deprecated(since="12.1.6",
forRemoval=true)
public class BadMessageException
extends HttpException.RuntimeException
Deprecated, for removal: This API element is subject to removal in a future version.
Exception thrown to indicate a Bad HTTP Message has either been received
or attempted to be generated. Typically, these are handled with 4xx or 5xx
responses.
- 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
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.BadMessageException(int code) Deprecated, for removal: This API element is subject to removal in a future version.BadMessageException(int code, String reason) Deprecated, for removal: This API element is subject to removal in a future version.BadMessageException(int code, String reason, Throwable cause) Deprecated, for removal: This API element is subject to removal in a future version.BadMessageException(String reason) Deprecated, for removal: This API element is subject to removal in a future version.BadMessageException(String reason, Throwable cause) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class org.eclipse.jetty.http.HttpException.RuntimeException
asIllegalStateException, getCode, getReasonMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadMessageException
public BadMessageException()Deprecated, for removal: This API element is subject to removal in a future version. -
BadMessageException
Deprecated, for removal: This API element is subject to removal in a future version. -
BadMessageException
Deprecated, for removal: This API element is subject to removal in a future version. -
BadMessageException
public BadMessageException(int code) Deprecated, for removal: This API element is subject to removal in a future version. -
BadMessageException
Deprecated, for removal: This API element is subject to removal in a future version. -
BadMessageException
Deprecated, for removal: This API element is subject to removal in a future version.
-
HttpException