Module io.inverno.mod.http.base
Class MalformedHeaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.http.base.HttpException
io.inverno.mod.http.base.BadRequestException
io.inverno.mod.http.base.internal.header.MalformedHeaderException
- All Implemented Interfaces:
Serializable
Thrown to indicates a malformed header.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a malformed header exception.MalformedHeaderException(String message) Creates a malformed header exception with the specified message.MalformedHeaderException(String message, Throwable cause) Creates a malformed header exception with the specified message and cause.Creates a malformed header exception with the specified cause. -
Method Summary
Methods inherited from class io.inverno.mod.http.base.HttpException
getStatusCategory, getStatusCode, getStatusReasonPhrase, wrapMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MalformedHeaderException
public MalformedHeaderException()Creates a malformed header exception.
-
MalformedHeaderException
Creates a malformed header exception with the specified message.
- Parameters:
message- the message
-
MalformedHeaderException
Creates a malformed header exception with the specified cause.
- Parameters:
cause- the cause
-
MalformedHeaderException
Creates a malformed header exception with the specified message and cause.
- Parameters:
message- the messagecause- the cause
-