public class SessionException extends Exception
| Constructor and Description |
|---|
SessionException(String message,
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SessionException(String message, 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()
Copyright © 2016 JBoss by Red Hat. All rights reserved.