Class ConnectionException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.apache.tinkerpop.gremlin.driver.exception.ConnectionException
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class ConnectionException extends RuntimeException
This exception signifies network connection failure.- Author:
 - Stephen Mallette (http://stephen.genoprime.com)
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ConnectionException(URI uri, String message, Throwable cause)ConnectionException(URI uri, Throwable cause)ConnectionException(URI uri, InetSocketAddress addy, String message)ConnectionException(URI uri, InetSocketAddress addy, String message, Throwable cause) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<InetSocketAddress>getAddress()URIgetUri()- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ConnectionException
public ConnectionException(URI uri, InetSocketAddress addy, String message)
 
- 
ConnectionException
public ConnectionException(URI uri, InetSocketAddress addy, String message, Throwable cause)
 
 - 
 
- 
Method Detail
- 
getUri
public URI getUri()
 
- 
getAddress
public Optional<InetSocketAddress> getAddress()
 
 - 
 
 -