# RuntimeExecutionException

Summary:[Methods](https://developer.android.com/reference/com/google/android/play/core/tasks/RuntimeExecutionException#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/com/google/android/play/core/tasks/RuntimeExecutionException#inhmethods)  

# RuntimeExecutionException

`
public


class
RuntimeExecutionException
`  
`


``


``


``

extends RuntimeException


``


`

|---|---|---|---|--------------------------------------------------------------|
| java.lang.Object                                                         |||||
| ↳ | java.lang.Throwable                                                   ||||
|   | ↳ | java.lang.Exception                                                |||
|   |   | ↳ | java.lang.RuntimeException                                      ||
|   |   |   | ↳ | com.google.android.play.core.tasks.RuntimeExecutionException |

<br />

*** ** * ** ***

TaskException version of[ExecutionException](https://developer.android.com/reference/java/util/concurrent/ExecutionException.html).  
**See also:**

- [Task.getResult(Class)](https://developer.android.com/reference/com/google/android/play/core/tasks/Task.html#getResult(java.lang.Class<X>))

## Summary

|                                                                                               ### Public methods                                                                                                ||
|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` int` | ` `[getErrorCode](https://developer.android.com/reference/com/google/android/play/core/tasks/RuntimeExecutionException.html#getErrorCode())`() ` Returns the error code associated with this exception. |

| ### Inherited methods |
|-----------------------|---|
| From class` java.lang.Throwable ` |------------------------|---------------------------------------------| | ` final void`          | ` addSuppressed(Throwable arg0) `           | | ` Throwable`           | ` fillInStackTrace() `                      | | ` Throwable`           | ` getCause() `                              | | ` String`              | ` getLocalizedMessage() `                   | | ` String`              | ` getMessage() `                            | | ` StackTraceElement[]` | ` getStackTrace() `                         | | ` final Throwable[]`   | ` getSuppressed() `                         | | ` Throwable`           | ` initCause(Throwable arg0) `               | | ` void`                | ` printStackTrace() `                       | | ` void`                | ` printStackTrace(PrintWriter arg0) `       | | ` void`                | ` printStackTrace(PrintStream arg0) `       | | ` void`                | ` setStackTrace(StackTraceElement[] arg0) ` | | ` String`              | ` toString() `                              | ||
| From class` java.lang.Object ` |-------------------|-------------------------------| | ` boolean`        | ` equals(Object arg0) `       | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

## Public methods

### getErrorCode

```
public int getErrorCode ()
```

Returns the error code associated with this exception. The specific meaning of the error code depends on the subclass.

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |