org.ow2.jonas.commands.admin.util
Class ExceptionUtils

java.lang.Object
  extended by org.ow2.jonas.commands.admin.util.ExceptionUtils

public class ExceptionUtils
extends Object

Exception/Throwable related utility class.


Method Summary
static Throwable getRootCause(Throwable throwable)
          Get the root cause of an Exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.