public class ConnectionException extends IOException
| Constructor and Description |
|---|
ConnectionException(IOException e,
InetSocketAddress addr) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getSocketAddress() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ConnectionException(IOException e, InetSocketAddress addr)
e - IOException which causes this exceptionaddr - address used for connectpublic InetSocketAddress getSocketAddress()
Copyright © 2021. All rights reserved.