|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.error.ExceptionStackUtil
public class ExceptionStackUtil
Helper class to provide information about exception stacks.
Constructor Summary | |
---|---|
ExceptionStackUtil()
|
Method Summary | |
---|---|
static java.lang.Throwable |
getCause(java.lang.Throwable throwable,
java.lang.Class[] possibleCauses)
Searches through the exception stack of the given throwable to find any instance of the possible cause. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionStackUtil()
Method Detail |
---|
public static java.lang.Throwable getCause(java.lang.Throwable throwable, java.lang.Class[] possibleCauses)
throwable
- the exception condition to searchpossibleCauses
- the types of the exception conditions of interest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |