java.io.Serializable
public class ConnectionException extends ProtocolException
response
Constructor | 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 | Description |
---|---|---|
Protocol |
getProtocol() |
getResponse
public ConnectionException()
public ConnectionException(java.lang.String s)
s
- the detail messagepublic Protocol getProtocol()