public class TransactionRequiredException extends javax.persistence.TransactionRequiredException implements java.io.Serializable, ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED| Constructor and Description |
|---|
TransactionRequiredException(Localizer.Message msg,
java.lang.Throwable[] nested,
java.lang.Object failed,
boolean fatal) |
TransactionRequiredException(java.lang.String msg,
java.lang.Throwable[] nested,
java.lang.Object failed,
boolean fatal) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the first
Throwable from ExceptionInfo.getNestedThrowables()
in order to conform to Throwable.getCause() in Java 1.4+. |
java.lang.Object |
getFailedObject()
The failed object.
|
java.lang.Throwable[] |
getNestedThrowables()
The nested throwables.
|
int |
getSubtype()
Exception subtype.
|
int |
getType()
Exception type.
|
boolean |
isFatal()
Whether this error is fatal.
|
void |
printStackTrace()
Stack.
|
void |
printStackTrace(java.io.PrintStream out) |
void |
printStackTrace(java.io.PrintWriter out) |
java.lang.String |
toString() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic TransactionRequiredException(Localizer.Message msg, java.lang.Throwable[] nested, java.lang.Object failed, boolean fatal)
public TransactionRequiredException(java.lang.String msg,
java.lang.Throwable[] nested,
java.lang.Object failed,
boolean fatal)
public int getType()
ExceptionInfogetType in interface ExceptionInfopublic int getSubtype()
ExceptionInfogetSubtype in interface ExceptionInfopublic boolean isFatal()
ExceptionInfoisFatal in interface ExceptionInfopublic java.lang.Throwable getCause()
ExceptionInfoThrowable from ExceptionInfo.getNestedThrowables()
in order to conform to Throwable.getCause() in Java 1.4+.getCause in interface ExceptionInfogetCause in class java.lang.ThrowableThrowable.getCause()public java.lang.Throwable[] getNestedThrowables()
ExceptionInfogetNestedThrowables in interface ExceptionInfopublic java.lang.Object getFailedObject()
ExceptionInfogetFailedObject in interface ExceptionInfopublic java.lang.String toString()
toString in class java.lang.Throwablepublic void printStackTrace()
ExceptionInfoprintStackTrace in interface ExceptionInfoprintStackTrace in class java.lang.ThrowableThrowable.printStackTrace()public void printStackTrace(java.io.PrintStream out)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter out)
printStackTrace in class java.lang.ThrowableCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.