Class ResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.tinkerpop.gremlin.driver.exception.ResponseException
-
- All Implemented Interfaces:
Serializable
public class ResponseException extends Exception
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseException(io.netty.handler.codec.http.HttpResponseStatus responseStatusCode, String serverMessage)
ResponseException(io.netty.handler.codec.http.HttpResponseStatus responseStatusCode, String serverMessage, String remoteException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRemoteException()
The exception generated by the server.io.netty.handler.codec.http.HttpResponseStatus
getResponseStatusCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResponseException
public ResponseException(io.netty.handler.codec.http.HttpResponseStatus responseStatusCode, String serverMessage)
-
-
Method Detail
-
getResponseStatusCode
public io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
-
getRemoteException
public String getRemoteException()
The exception generated by the server.
-
-