Package org.forgerock.http.header
Class MalformedHeaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.http.header.MalformedHeaderException
-
- All Implemented Interfaces:
Serializable
public class MalformedHeaderException extends Exception
Thrown when a header string cannot be parsed to a richHeader
implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedHeaderException(Exception cause)
Constructs a new exception with the given cause.MalformedHeaderException(String message)
Constructs a new exception with the given message.MalformedHeaderException(String message, Exception cause)
Constructs a new exception with the given message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MalformedHeaderException
public MalformedHeaderException(String message)
Constructs a new exception with the given message.- Parameters:
message
- The message.
-
MalformedHeaderException
public MalformedHeaderException(String message, Exception cause)
Constructs a new exception with the given message and cause.- Parameters:
message
- The message.cause
- The cause.
-
MalformedHeaderException
public MalformedHeaderException(Exception cause)
Constructs a new exception with the given cause.- Parameters:
cause
- The cause.
-
-