|Constructor and Description|
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|
Return the Session on which the problem occurred.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
message- a description of the problem
cause- the error that caused the problem
session- the session on which the problem occurred.
public Session getSession()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.