Class SessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.tinkerpop.gremlin.server.handler.SessionException
-
- All Implemented Interfaces:
Serializable
public class SessionException extends Exception
An exception that holds the error-relatedResponseMessage
which is meant to be returned to the calling client.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionException(String message, Throwable cause, ResponseMessage responseMessage)
SessionException(String message, ResponseMessage responseMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseMessage
getResponseMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SessionException
public SessionException(String message, ResponseMessage responseMessage)
-
SessionException
public SessionException(String message, Throwable cause, ResponseMessage responseMessage)
-
-
Method Detail
-
getResponseMessage
public ResponseMessage getResponseMessage()
-
-