Serializable
public class SessionException extends Exception
Constructor | 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 | Description |
---|---|---|
Session |
getSession() |
Return the Session on which the problem occurred.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 © 2019 JBoss by Red Hat. All rights reserved.