public class ConnectionException extends Exception
Constructor and Description |
---|
ConnectionException(URI uri,
InetSocketAddress addy,
String message) |
ConnectionException(URI uri,
InetSocketAddress addy,
String message,
Throwable cause) |
ConnectionException(URI uri,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Optional<InetSocketAddress> |
getAddress() |
URI |
getUri() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConnectionException(URI uri, InetSocketAddress addy, String message)
public ConnectionException(URI uri, InetSocketAddress addy, String message, Throwable cause)
public URI getUri()
public Optional<InetSocketAddress> getAddress()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.