public class SessionException
extends java.lang.Exception
Constructor and Description |
---|
SessionException(java.lang.String message,
java.lang.Throwable cause,
Session session)
Creates a new instance of this exception with the given message, the wrapped cause of the exception and the
session with which the problem is associated.
|
Modifier and Type | Method and Description |
---|---|
Session |
getSession()
Return the Session on which the problem occurred.
|
public SessionException(java.lang.String message, java.lang.Throwable cause, Session session)
message
- a description of the problemcause
- the error that caused the problemsession
- the session on which the problem occurred.public Session getSession()