AppFunctionException


public abstract class AppFunctionException extends Exception

Known direct subclasses
AppFunctionAppException

Thrown when an error is caused by the app providing the function.

AppFunctionRequestException

Thrown when the error is caused by the app requesting a function execution.

AppFunctionSystemException

Thrown when an internal unexpected error comes from the system.

AppFunctionUnknownException

Thrown when an unknown error has occurred.

Known indirect subclasses
AppFunctionAppUnknownException

Thrown when an unknown error occurred while processing the call in the AppFunctionService.

AppFunctionCancelledException

Thrown when an operation was cancelled.

AppFunctionDeniedException

Thrown when the caller does not have the permission to execute an app function.

AppFunctionDisabledException

Thrown when the caller tried to execute a disabled app function.

AppFunctionElementAlreadyExistsException

Thrown when the caller tried to create a resource/entity that already exists or has conflicts with existing resource/entity.

AppFunctionElementNotFoundException

Thrown when the caller tried to request a resource/entity that does not exist.

AppFunctionFunctionNotFoundException

Thrown when the caller tries to execute a function that does not exist.

AppFunctionInvalidArgumentException

Thrown when the caller supplied invalid arguments to ExecuteAppFunctionRequest's parameters.

AppFunctionLimitExceededException

Thrown when the caller exceeded the allowed request rate.

AppFunctionNotSupportedException

Thrown when an app receives a request to perform an unsupported action.

AppFunctionPermissionRequiredException

Thrown when the app lacks the necessary permission to fulfill the request.

AppFunctionSystemUnknownException

Thrown when an internal unexpected error comes from the system.


An exception that is thrown when an error occurs during an app function execution.

This exception can be used by the app to report errors to the caller.

Summary

Public methods

final String

The error message.

Public methods

getErrorMessage

Added in 1.0.0-alpha01
public final String getErrorMessage()

The error message.