AppFunctionUnknownException
public final class AppFunctionUnknownException extends AppFunctionException
| java.lang.Object | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | androidx.appfunctions.AppFunctionException | |||
| ↳ | androidx.appfunctions.AppFunctionUnknownException |
Thrown when an unknown error has occurred.
This Exception is used when the error doesn't belong to any other AppFunctionException. This may happen due to version skews in the error codes between the platform and the sdk. E.g. if the app is running on a newer platform version (with a new error code) and an older sdk.
Note that this is different from AppFunctionAppUnknownException, in that the error wasn't necessarily caused by the app.
Summary
Public constructors |
|---|
AppFunctionUnknownException(int errorCode, String errorMessage)Create an |
Public methods |
|
|---|---|
final int |
Inherited methods |
||
|---|---|---|
|
||
Public constructors
AppFunctionUnknownException
public AppFunctionUnknownException(int errorCode, String errorMessage)
Create an AppFunctionUnknownException.
| Parameters | |
|---|---|
int errorCode |
The error code. |
String errorMessage |
The error message. |