Android APIs
public final class

ExceptionUtils

extends Object
java.lang.Object
   ↳ org.apache.http.util.ExceptionUtils

This class is deprecated.
Please use openConnection() instead. Please visit this webpage for further details.

Class Overview

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

Summary

Public Methods
static void initCause(Throwable throwable, Throwable cause)
If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void initCause (Throwable throwable, Throwable cause)

Added in API level 1

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.