Package org.apache.coyote
Class ProtocolException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.coyote.ProtocolException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProtocolException extends java.lang.RuntimeExceptionUsed when we need to indicate failure but the (Servlet) API doesn't declare any appropriate exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolException()Construct aProtocolExceptionwith no detail message or cause.ProtocolException(java.lang.String message)Construct aProtocolExceptionwith the given detail message.ProtocolException(java.lang.String message, java.lang.Throwable cause)Construct aProtocolExceptionwith the given detail message and cause.ProtocolException(java.lang.Throwable cause)Construct aProtocolExceptionwith the given cause.
-
-
-
Constructor Detail
-
ProtocolException
public ProtocolException()
Construct aProtocolExceptionwith no detail message or cause.
-
ProtocolException
public ProtocolException(java.lang.String message, java.lang.Throwable cause)Construct aProtocolExceptionwith the given detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
ProtocolException
public ProtocolException(java.lang.String message)
Construct aProtocolExceptionwith the given detail message.- Parameters:
message- the detail message
-
ProtocolException
public ProtocolException(java.lang.Throwable cause)
Construct aProtocolExceptionwith the given cause.- Parameters:
cause- the cause
-
-