org.ow2.jonas.commands.admin.util
Class ExceptionUtils
java.lang.Object
org.ow2.jonas.commands.admin.util.ExceptionUtils
public class ExceptionUtils
- extends Object
Exception/Throwable related utility class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRootCause
public static Throwable getRootCause(Throwable throwable)
- Get the root cause of an Exception.
- Parameters:
throwable
- the top level exception.
- Returns:
- the root cause of the given exception
Copyright © 2010 OW2 Consortium. All Rights Reserved.