to top
Android APIs
public final class

ExceptionUtils

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

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)

Since: 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.