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 format,
Object... args)
Constructs 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, toStringpublic ProtocolException()
null detail message.public ProtocolException(String message)
message - The exception detail messagepublic ProtocolException(String format, Object... args)
format - The exception detail message format; see String.format(String, Object...).args - The exception detail message arguments; see String.format(String, Object...).public 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 ThrowableCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.