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-relatedResponseMessagewhich is meant to be returned to the calling client.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SessionException(String message, Throwable cause, ResponseMessage responseMessage)SessionException(String message, ResponseMessage responseMessage)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseMessagegetResponseMessage()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
SessionExceptionpublic SessionException(String message, ResponseMessage responseMessage) 
 - 
SessionExceptionpublic SessionException(String message, Throwable cause, ResponseMessage responseMessage) 
 
- 
 - 
Method Detail- 
getResponseMessagepublic ResponseMessage getResponseMessage() 
 
- 
 
-