com.metamatrix.client
Class ExceptionUtil

java.lang.Object
  extended by com.metamatrix.client.ExceptionUtil

public class ExceptionUtil
extends java.lang.Object


Constructor Summary
ExceptionUtil()
           
 
Method Summary
static java.lang.Throwable convertException(java.lang.reflect.Method method, java.lang.Throwable exception)
           
static
<T extends java.lang.Throwable>
T
getExceptionOfType(java.lang.Throwable ex, java.lang.Class<T> cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionUtil

public ExceptionUtil()
Method Detail

getExceptionOfType

public static <T extends java.lang.Throwable> T getExceptionOfType(java.lang.Throwable ex,
                                                                   java.lang.Class<T> cls)

convertException

public static java.lang.Throwable convertException(java.lang.reflect.Method method,
                                                   java.lang.Throwable exception)


Copyright © 2009. All Rights Reserved.