public class ReportedException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
ReportedException(java.lang.Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
static void |
throwIfNecessary(java.lang.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.
|
public static void throwIfNecessary(java.lang.Throwable error)
error - The error to be thrownjava.lang.ThrowableCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.