com.ctc.wstx.util
Class ExceptionUtil

java.lang.Object
  extended bycom.ctc.wstx.util.ExceptionUtil

public final class ExceptionUtil
extends java.lang.Object


Method Summary
static void throwAsIllegalArgument(java.lang.Throwable t)
           
static void throwIfUnchecked(java.lang.Throwable t)
           
static void throwRuntimeException(java.lang.Throwable t)
          Method that can be used to convert any Throwable to a RuntimeException; conversion is only done for checked exceptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

throwRuntimeException

public static void throwRuntimeException(java.lang.Throwable t)
Method that can be used to convert any Throwable to a RuntimeException; conversion is only done for checked exceptions.


throwAsIllegalArgument

public static void throwAsIllegalArgument(java.lang.Throwable t)

throwIfUnchecked

public static void throwIfUnchecked(java.lang.Throwable t)