|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.alfresco.web.ui.common.ReportedException
public class ReportedException
Unchecked exception wrapping an already-reported exception. The dialog code can use this to detect whether or not to report further to the user.
| Constructor Summary | |
|---|---|
ReportedException(java.lang.Throwable e)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReportedException(java.lang.Throwable e)
| Method Detail |
|---|
public static void throwIfNecessary(java.lang.Throwable error)
error - The error to be thrown
java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||