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 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
CrashInfo(in: Parcel!)
Create an instance of CrashInfo initialized from a Parcel.
CrashInfo
CrashInfo(tr: Throwable!)
Create an instance of CrashInfo initialized from an exception.
Public methods
dump
open fun dump(
pw: Printer!,
prefix: String!
): Unit
Dump a CrashInfo instance to a Printer.
writeToParcel
open fun writeToParcel(
dest: Parcel!,
flags: Int
): Unit
Save a CrashInfo instance to a parcel.
Properties
exceptionClassName
var exceptionClassName: String!
Class name of the exception that caused the crash.
exceptionMessage
var exceptionMessage: String!
Message stored in the exception.
throwClassName
var throwClassName: String!
Class which the exception was thrown from.
throwFileName
var throwFileName: String!
File which the exception was thrown from.
throwLineNumber
var throwLineNumber: Int
Line number the exception was thrown from.
throwMethodName
var throwMethodName: String!
Method which the exception was thrown from.