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

Added in API level 14

Class name of the exception that caused the crash.

public String exceptionMessage

Added in API level 14

Message stored in the exception.

public String stackTrace

Added in API level 14

Stack trace.

public String throwClassName

Added in API level 14

Class which the exception was thrown from.

public String throwFileName

Added in API level 14

File which the exception was thrown from.

public int throwLineNumber

Added in API level 14

Line number the exception was thrown from.

public String throwMethodName

Added in API level 14

Method which the exception was thrown from.

Public Constructors

public ApplicationErrorReport.CrashInfo ()

Added in API level 14

Create an uninitialized instance of CrashInfo.

public ApplicationErrorReport.CrashInfo (Throwable tr)

Added in API level 14

Create an instance of CrashInfo initialized from an exception.

public ApplicationErrorReport.CrashInfo (Parcel in)

Added in API level 14

Create an instance of CrashInfo initialized from a Parcel.

Public Methods

public void dump (Printer pw, String prefix)

Added in API level 14

Dump a CrashInfo instance to a Printer.

public void writeToParcel (Parcel dest, int flags)

Added in API level 14

Save a CrashInfo instance to a parcel.