Class ProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.coyote.ProtocolException
- All Implemented Interfaces:
Serializable
Used when we need to indicate failure but the (Servlet) API doesn't declare any appropriate exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct aProtocolExceptionwith no detail message or cause.ProtocolException(String message) Construct aProtocolExceptionwith the given detail message.ProtocolException(String message, Throwable cause) Construct aProtocolExceptionwith the given detail message and cause.ProtocolException(Throwable cause) Construct aProtocolExceptionwith the given cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtocolException
public ProtocolException()Construct aProtocolExceptionwith no detail message or cause. -
ProtocolException
-
ProtocolException
Construct aProtocolExceptionwith the given detail message.- Parameters:
message- the detail message
-
ProtocolException
Construct aProtocolExceptionwith the given cause.- Parameters:
cause- the cause
-