public class ReportedException extends RuntimeException
| Constructor and Description |
|---|
ReportedException(Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
static void |
throwIfNecessary(Throwable error)
Throws the given exception if we are still in an active transaction,
this ensures that we cross the transaction boundary and thus cause
the transaction to rollback.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ReportedException(Throwable e)
public static void throwIfNecessary(Throwable error)
error - The error to be thrownCopyright © 2005–2018 Alfresco Software. All rights reserved.