public class ProtocolException extends HttpException
Constructor and Description |
---|
ProtocolException()
Creates a new ProtocolException with a
null detail message. |
ProtocolException(String message)
Creates a new ProtocolException with the specified detail message.
|
ProtocolException(String message,
Throwable cause)
Creates a new ProtocolException with the specified detail message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProtocolException()
null
detail message.public ProtocolException(String message)
message
- The exception detail messagepublic ProtocolException(String message, Throwable cause)
message
- the exception detail messagecause
- the Throwable
that caused this exception, or null
if the cause is unavailable, unknown, or not a Throwable
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.