Package org.jdrupes.httpcodec
Class ProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jdrupes.httpcodec.ProtocolException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HttpProtocolException
Represents the base class of all exceptions thrown due to protocol
violations.
- See Also:
-
Constructor Summary
ConstructorDescriptionProtocolException
(String message) ProtocolException
(String message, Throwable cause) ProtocolException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) ProtocolException
(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
-
ProtocolException
public ProtocolException() -
ProtocolException
- Parameters:
message
- the message
-
ProtocolException
- Parameters:
cause
- the cause
-
ProtocolException
- Parameters:
message
- the messagecause
- the cause
-
ProtocolException
public ProtocolException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) - Parameters:
message
- the messagecause
- the causeenableSuppression
- whether to enable suppressionwritableStackTrace
- whether the stack trace is writable
-