com.googlecode.flyway.core.util
Class ExceptionUtils

java.lang.Object
  extended by com.googlecode.flyway.core.util.ExceptionUtils

public class ExceptionUtils
extends java.lang.Object

Utility class for dealing with exceptions.


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

Method Detail

getRootCause

public static java.lang.Throwable getRootCause(java.lang.Throwable throwable)
Returns the root cause of this throwable.

Parameters:
throwable - The throwable to inspect.
Returns:
The root cause or null if the throwable is null or doesn't have a cause.


Copyright © 2011. All Rights Reserved.