to top
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

Since: API Level 14

Class name of the exception that caused the crash.

public String exceptionMessage

Since: API Level 14

Message stored in the exception.

public String stackTrace

Since: API Level 14

Stack trace.

public String throwClassName

Since: API Level 14

Class which the exception was thrown from.

public String throwFileName

Since: API Level 14

File which the exception was thrown from.

public int throwLineNumber

Since: API Level 14

Line number the exception was thrown from.

public String throwMethodName

Since: API Level 14

Method which the exception was thrown from.

Public Constructors

public ApplicationErrorReport.CrashInfo ()

Since: API Level 14

Create an uninitialized instance of CrashInfo.

public ApplicationErrorReport.CrashInfo (Throwable tr)

Since: API Level 14

Create an instance of CrashInfo initialized from an exception.

public ApplicationErrorReport.CrashInfo (Parcel in)

Since: API Level 14

Create an instance of CrashInfo initialized from a Parcel.

Public Methods

public void dump (Printer pw, String prefix)

Since: API Level 14

Dump a CrashInfo instance to a Printer.

public void writeToParcel (Parcel dest, int flags)

Since: API Level 14

Save a CrashInfo instance to a parcel.