public class ProtocolException extends IOException
Constructor and Description |
---|
ProtocolException()
Constructs a new
ProtocolException with no detail message. |
ProtocolException(String host)
Constructs a new
ProtocolException with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public ProtocolException()
ProtocolException
with no detail message.public ProtocolException(String host)
ProtocolException
with the specified detail message.host
- the detail message.