StandardIntegrityException

public class StandardIntegrityException extends ApiException


استثناء يشير إلى حدوث خطأ في Standard Integrity API.

يُرجى الاطّلاع على getErrorCode لمعرفة المشكلة المحدّدة.

ملخّص

الإنشاءات العامة

تنشئ هذه الدالة StandardIntegrityException باستخدام رمز الخطأ المحدّد.

الطُرق العامة

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

الإنشاءات العامة

StandardIntegrityException

public StandardIntegrityException(int errorCode)

تنشئ هذه الدالة StandardIntegrityException باستخدام رمز الخطأ المحدّد.

المعلمات
int errorCode

رمز الخطأ

الطُرق العامة

getCause

synchronized public Throwable getCause()

getErrorCode

public int getErrorCode()

تعرِض هذه السمة رمز الخطأ الناتج عن العملية. القيمة هي إحدى الثوابت في StandardIntegrityErrorCode.

getStatusCode

public int getStatusCode()

تعرِض هذه السمة رمز الخطأ الناتج عن العملية. القيمة هي إحدى الثوابت في StandardIntegrityErrorCode. لا تتوافق الدالة getStatusCode()‎ مع StandardIntegrityException، يُرجى استخدام الدالة getErrorCode()‎ بدلاً منها.

isRemediable

public boolean isRemediable()

تعرِض هذه السمة ما إذا كان يمكن إصلاح الاستثناء من خلال مربّعات حوار "سلامة الجهاز". يمكنك الاطّلاع على IntegrityDialogTypeCode.

منذ الإصدار 1.5.0