IntegrityServiceException

public class IntegrityServiceException extends ApiException


Integrity API になんらかの問題があることを示す例外。

具体的な問題については、getErrorCode をご覧ください。

概要

パブリック コンストラクタ

指定されたエラーコードで IntegrityServiceException を構築します。

パブリック メソッド

synchronized Throwable
int

オペレーションで発生したエラーコードを返します。

int

オペレーションで発生したエラーコードを返します。

boolean

例外がデバイスの完全性ダイアログで修復可能かどうかを返します。

継承されるフィールド

継承元: com.google.android.gms.common.api.ApiException
final Status

このフィールドは非推奨になりました。

継承されるメソッド

継承元: com.google.android.gms.common.api.ApiException
Status
String

このメソッドは非推奨です。

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

パブリック コンストラクタ

IntegrityServiceException

public IntegrityServiceException(int errorCode)

指定されたエラーコードで IntegrityServiceException を構築します。

パラメータ
int errorCode

エラーコード。

パブリック メソッド

getCause

synchronized public Throwable getCause()

getErrorCode

public int getErrorCode()

オペレーションで発生したエラーコードを返します。値は IntegrityErrorCode の定数のいずれかです。

getStatusCode

public int getStatusCode()

オペレーションで発生したエラーコードを返します。値は IntegrityErrorCode の定数のいずれかです。getStatusCode() は IntegrityServiceExceptions ではサポートされていないため、代わりに getErrorCode() を使用してください。

isRemediable

public boolean isRemediable()

例外がデバイスの完全性ダイアログで修復可能かどうかを返します。IntegrityDialogTypeCode をご覧ください。

1.5.0 以降