AppEngageException

public class AppEngageException extends ApiException


An exception indicating something went wrong with the App Engage API.

See getErrorCode for the specific problem.

Summary

Public constructors

AppEngageException(
    @AppEngageErrorCode int errorCode,
    String errorMessage
)

Public methods

int

Returns an error code value from AppEngageErrorCode.

int

Returns the error code resulting from the operation.

Inherited fields

From com.google.android.gms.common.api.ApiException
final Status

This field is deprecated.

Inherited methods

From com.google.android.gms.common.api.ApiException
Status
String

This method is deprecated.

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String

Public constructors

AppEngageException

public AppEngageException(@AppEngageErrorCode int errorCode)

AppEngageException

public AppEngageException(
    @AppEngageErrorCode int errorCode,
    String errorMessage
)

Public methods

getErrorCode

@AppEngageErrorCode
public int getErrorCode()

Returns an error code value from AppEngageErrorCode.

getStatusCode

public int getStatusCode()

Returns the error code resulting from the operation. The value is one of the constants in AppEngageErrorCode. getStatusCode() is unsupported by AppEngageException, please use getErrorCode() instead.