org.apache.http.util
Class ExceptionUtils

java.lang.Object
  extended by org.apache.http.util.ExceptionUtils

public final class ExceptionUtils
extends java.lang.Object

The home for utility methods that handle various exception-related tasks.

Since:
4.0

Method Summary
static void initCause(java.lang.Throwable throwable, java.lang.Throwable cause)
          If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initCause

public static void initCause(java.lang.Throwable throwable,
                             java.lang.Throwable cause)
If we're running on JDK 1.4 or later, initialize the cause for the given throwable.

Parameters:
throwable - The throwable.
cause - The cause of the throwable.


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.