StandardIntegrityException

public class StandardIntegrityException extends ApiException


An exception indicating something went wrong with the Standard Integrity API.

See getErrorCode for the specific problem.

Summary

Public constructors

Constructs an StandardIntegrityException with the specified error code.

Public methods

synchronized Throwable
int

Returns the error code resulting from the operation.

int

Returns the error code resulting from the operation.

boolean

Returns whether the exception is remediable by the device integrity dialogs.

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
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String

Public constructors

StandardIntegrityException

public StandardIntegrityException(int errorCode)

Constructs an StandardIntegrityException with the specified error code.

Parameters
int errorCode

the error code.

Public methods

getCause

synchronized public Throwable getCause()

getErrorCode

public int getErrorCode()

Returns the error code resulting from the operation. The value is one of the constants in StandardIntegrityErrorCode.

getStatusCode

public int getStatusCode()

Returns the error code resulting from the operation. The value is one of the constants in StandardIntegrityErrorCode. getStatusCode() is not supported in StandardIntegrityException, please use getErrorCode() instead.

isRemediable

public boolean isRemediable()

Returns whether the exception is remediable by the device integrity dialogs. See IntegrityDialogTypeCode.

Since 1.5.0