public class ExceptionStackUtil extends Object
Constructor and Description |
---|
ExceptionStackUtil() |
Modifier and Type | Method and Description |
---|---|
static Throwable |
getCause(Throwable throwable,
Class<?>... possibleCauses)
Searches through the exception stack of the given throwable to find any instance
of the possible cause.
|
public static Throwable getCause(Throwable throwable, Class<?>... possibleCauses)
throwable
- the exception condition to searchpossibleCauses
- the types of the exception conditions of interestCopyright © 2005–2019 Alfresco Software. All rights reserved.