org.znerd.util
Class ExceptionUtils
java.lang.Object
org.znerd.util.ExceptionUtils
public final class ExceptionUtils
- extends Object
Utility functions related to exceptions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRootCause
public static Throwable getRootCause(Throwable exception)
- Determines the root cause for the specified exception.
- Parameters:
exception - the exception to determine the root cause for, can be null.
- Returns:
- the root cause exception, can be
null.
Copyright © 2011-2013. All Rights Reserved.