public class ExceptionStackUtil
extends java.lang.Object
Constructor and Description |
---|
ExceptionStackUtil() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 interestCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.