org.xins.common
Class ExceptionUtils

java.lang.Object
  extended byorg.xins.common.ExceptionUtils

Deprecated. Deprecated since XINS 1.2.0. Use class ExceptionUtils instead

public final class ExceptionUtils
extends Object

Utility functions related to exceptions.

Since:
XINS 1.0.0
Version:
$Revision: 1.10 $ $Date: 2006/08/28 09:12:35 $
Author:
Ernst de Haan

Method Summary
static Throwable getRootCause(Throwable exception)
          Deprecated. Determines the root cause for the specified 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 exception)
                              throws IllegalArgumentException
Deprecated. 
Determines the root cause for the specified exception.

Parameters:
exception - the exception to determine the root cause for, cannot be null.
Returns:
the root cause exception, never null.
Throws:
IllegalArgumentException - if exception == null.


See http://www.xins.org/.