Added in API level 14

CrashInfo


open class CrashInfo
kotlin.Any
   ↳ android.app.ApplicationErrorReport.CrashInfo

Describes an application crash.

Summary

Public constructors

Create an uninitialized instance of CrashInfo.

Create an instance of CrashInfo initialized from a Parcel.

Create an instance of CrashInfo initialized from an exception.

Public methods
open Unit
dump(pw: Printer!, prefix: String!)

Dump a CrashInfo instance to a Printer.

open Unit
writeToParcel(dest: Parcel!, flags: Int)

Save a CrashInfo instance to a parcel.

Properties
String!

Class name of the exception that caused the crash.

String!

Message stored in the exception.

String!

Stack trace.

String!

Class which the exception was thrown from.

String!

File which the exception was thrown from.

Int

Line number the exception was thrown from.

String!

Method which the exception was thrown from.

Public constructors

CrashInfo

Added in API level 14
CrashInfo()

Create an uninitialized instance of CrashInfo.

CrashInfo

Added in API level 14
CrashInfo(in: Parcel!)

Create an instance of CrashInfo initialized from a Parcel.

CrashInfo

Added in API level 14
CrashInfo(tr: Throwable!)

Create an instance of CrashInfo initialized from an exception.

Public methods

dump

Added in API level 14
open fun dump(
    pw: Printer!,
    prefix: String!
): Unit

Dump a CrashInfo instance to a Printer.

writeToParcel

Added in API level 14
open fun writeToParcel(
    dest: Parcel!,
    flags: Int
): Unit

Save a CrashInfo instance to a parcel.

Properties

exceptionClassName

Added in API level 14
var exceptionClassName: String!

Class name of the exception that caused the crash.

exceptionMessage

Added in API level 14
var exceptionMessage: String!

Message stored in the exception.

stackTrace

Added in API level 14
var stackTrace: String!

Stack trace.

throwClassName

Added in API level 14
var throwClassName: String!

Class which the exception was thrown from.

throwFileName

Added in API level 14
var throwFileName: String!

File which the exception was thrown from.

throwLineNumber

Added in API level 14
var throwLineNumber: Int

Line number the exception was thrown from.

throwMethodName

Added in API level 14
var throwMethodName: String!

Method which the exception was thrown from.