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(String s) |
Constructs an ConnectionException with the specified detail message.
|
Modifier and Type | Method | Description |
---|---|---|
Protocol |
getProtocol() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConnectionException()
public ConnectionException(String s)
s
- the detail messagepublic Protocol getProtocol()
Copyright © 2018 Oracle. All rights reserved.