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)

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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.