Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static class

ApplicationErrorReport.CrashInfo

extends Object
java.lang.Object
   ↳ android.app.ApplicationErrorReport.CrashInfo

Class Overview

Describes an application crash.

Summary

Fields
public String exceptionClassName Class name of the exception that caused the crash.
public String exceptionMessage Message stored in the exception.
public String stackTrace Stack trace.
public String throwClassName Class which the exception was thrown from.
public String throwFileName File which the exception was thrown from.
public int throwLineNumber Line number the exception was thrown from.
public String throwMethodName Method which the exception was thrown from.
Public Constructors
ApplicationErrorReport.CrashInfo ()
Create an uninitialized instance of CrashInfo.
ApplicationErrorReport.CrashInfo ( Throwable tr)
Create an instance of CrashInfo initialized from an exception.
ApplicationErrorReport.CrashInfo ( Parcel in)
Create an instance of CrashInfo initialized from a Parcel.
Public Methods
void dump ( Printer pw, String prefix)
Dump a CrashInfo instance to a Printer.
void writeToParcel ( Parcel dest, int flags)
Save a CrashInfo instance to a parcel.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public String exceptionClassName

Class name of the exception that caused the crash.

public String exceptionMessage

Message stored in the exception.

public String stackTrace

Stack trace.

public String throwClassName

Class which the exception was thrown from.

public String throwFileName

File which the exception was thrown from.

public int throwLineNumber

Line number the exception was thrown from.

public String throwMethodName

Method which the exception was thrown from.

Public Constructors

public ApplicationErrorReport.CrashInfo ()

Create an uninitialized instance of CrashInfo.

public ApplicationErrorReport.CrashInfo ( Throwable tr)

Create an instance of CrashInfo initialized from an exception.

public ApplicationErrorReport.CrashInfo ( Parcel in)

Create an instance of CrashInfo initialized from a Parcel.

Public Methods

public void dump ( Printer pw, String prefix)

Dump a CrashInfo instance to a Printer.

public void writeToParcel ( Parcel dest, int flags)

Save a CrashInfo instance to a parcel.