# ApplicationErrorReport.CrashInfo

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Fields](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#lfields)\|[Ctors](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#pubctors)\|[Methods](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#inhmethods)  

# ApplicationErrorReport.CrashInfo

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/app/ApplicationErrorReport.CrashInfo "View this page in Kotlin")\|Java

`
public
static


class
ApplicationErrorReport.CrashInfo
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


`

|---|----------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.app.ApplicationErrorReport.CrashInfo |

<br />

*** ** * ** ***

Describes an application crash.

## Summary

|                                                                                                                           ### Fields                                                                                                                           ||
|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` public `[String](https://developer.android.com/reference/java/lang/String) | [exceptionClassName](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#exceptionClassName) Class name of the exception that caused the crash. |
| ` public `[String](https://developer.android.com/reference/java/lang/String) | [exceptionMessage](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#exceptionMessage) Message stored in the exception.                       |
| ` public `[String](https://developer.android.com/reference/java/lang/String) | [stackTrace](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#stackTrace) Stack trace.                                                       |
| ` public `[String](https://developer.android.com/reference/java/lang/String) | [throwClassName](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#throwClassName) Class which the exception was thrown from.                 |
| ` public `[String](https://developer.android.com/reference/java/lang/String) | [throwFileName](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#throwFileName) File which the exception was thrown from.                    |
| ` public int`                                                                | [throwLineNumber](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#throwLineNumber) Line number the exception was thrown from.               |
| ` public `[String](https://developer.android.com/reference/java/lang/String) | [throwMethodName](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#throwMethodName) Method which the exception was thrown from.              |

|                                                                                                                                 ### Public constructors                                                                                                                                 ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[CrashInfo](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#CrashInfo())`() ` Create an uninitialized instance of CrashInfo.                                                                                                                 |
| ` `[CrashInfo](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#CrashInfo(android.os.Parcel))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel)` in) ` Create an instance of CrashInfo initialized from a Parcel.            |
| ` `[CrashInfo](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#CrashInfo(java.lang.Throwable))`(`[Throwable](https://developer.android.com/reference/java/lang/Throwable)` tr) ` Create an instance of CrashInfo initialized from an exception. |

|                                                                                                                                                                      ### Public methods                                                                                                                                                                       ||
|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void` | ` `[dump](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#dump(android.util.Printer,%20java.lang.String))`(`[Printer](https://developer.android.com/reference/android/util/Printer)` pw, `[String](https://developer.android.com/reference/java/lang/String)` prefix) ` Dump a CrashInfo instance to a Printer. |
| ` void` | ` `[writeToParcel](https://developer.android.com/reference/android/app/ApplicationErrorReport.CrashInfo#writeToParcel(android.os.Parcel,%20int))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel)` dest, int flags) ` Save a CrashInfo instance to a parcel.                                                                    |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Fields

### exceptionClassName

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String exceptionClassName
```

Class name of the exception that caused the crash.

<br />

### exceptionMessage

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String exceptionMessage
```

Message stored in the exception.

<br />

### stackTrace

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String stackTrace
```

Stack trace.

<br />

### throwClassName

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String throwClassName
```

Class which the exception was thrown from.

<br />

### throwFileName

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String throwFileName
```

File which the exception was thrown from.

<br />

### throwLineNumber

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int throwLineNumber
```

Line number the exception was thrown from.

<br />

### throwMethodName

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String throwMethodName
```

Method which the exception was thrown from.

<br />

## Public constructors

### CrashInfo

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public CrashInfo ()
```

Create an uninitialized instance of CrashInfo.

<br />

### CrashInfo

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public CrashInfo (Parcel in)
```

Create an instance of CrashInfo initialized from a Parcel.

<br />

|      Parameters       ||
|------|-----------------|
| `in` | `Parcel` <br /> |

### CrashInfo

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public CrashInfo (Throwable tr)
```

Create an instance of CrashInfo initialized from an exception.

<br />

|        Parameters        ||
|------|--------------------|
| `tr` | `Throwable` <br /> |

## Public methods

### dump

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void dump (Printer pw, 
                String prefix)
```

Dump a CrashInfo instance to a Printer.

<br />

|         Parameters         ||
|----------|------------------|
| `pw`     | `Printer` <br /> |
| `prefix` | `String` <br />  |

### writeToParcel

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void writeToParcel (Parcel dest, 
                int flags)
```

Save a CrashInfo instance to a parcel.

<br />

|        Parameters        ||
|---------|-----------------|
| `dest`  | `Parcel` <br /> |
| `flags` | `int` <br />    |