org.apache.commons.httpclient.util
Class ExceptionUtil

java.lang.Object
  extended byorg.apache.commons.httpclient.util.ExceptionUtil

public class ExceptionUtil
extends java.lang.Object

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

Since:
2.1
Author:
Oleg Kalnichevski, Laura Werner

Constructor Summary
ExceptionUtil()
           
 
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
 

Constructor Detail

ExceptionUtil

public ExceptionUtil()
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 © 2001-2004 Apache Software Foundation. All Rights Reserved.