public class ConnectionException extends ProtocolException
Modifier and Type | Field and Description |
---|---|
private Protocol |
p |
private static long |
serialVersionUID |
response
Constructor and Description |
---|
ConnectionException()
Constructs an ConnectionException with no detail message.
|
ConnectionException(Protocol p,
Response r)
Constructs an ConnectionException with the specified Response.
|
ConnectionException(java.lang.String s)
Constructs an ConnectionException with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
Protocol |
getProtocol() |
getResponse
private transient Protocol p
private static final long serialVersionUID
public ConnectionException()
public ConnectionException(java.lang.String s)
s
- the detail messagepublic Protocol getProtocol()