AppFunctionUnknownException


public final class AppFunctionUnknownException extends AppFunctionException


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 AppFunctionUnknownException.

Public methods

final int

Public constructors

AppFunctionUnknownException

Added in 1.0.0-alpha01
public AppFunctionUnknownException(int errorCode, String errorMessage)

Create an AppFunctionUnknownException.

Parameters
int errorCode

The error code.

String errorMessage

The error message.

Public methods

getErrorCode

Added in 1.0.0-alpha01
public final int getErrorCode()