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 SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<InetSocketAddress>getAddress()URIgetUri()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ConnectionExceptionpublic ConnectionException(URI uri, InetSocketAddress addy, String message) 
 - 
ConnectionExceptionpublic ConnectionException(URI uri, InetSocketAddress addy, String message, Throwable cause) 
 
- 
 - 
Method Detail- 
getUripublic URI getUri() 
 - 
getAddresspublic Optional<InetSocketAddress> getAddress() 
 
- 
 
-