اعتبارًا من 27 آذار (مارس) 2025، ننصحك باستخدام android-latest-release
بدلاً من aosp-main
لإنشاء AOSP والمساهمة فيه. لمزيد من المعلومات، يُرجى الاطّلاع على التغييرات في AOSP.
HarnessException
public
class
HarnessException
extends Object
implements
IHarnessException
java.lang.Object
|
↳ |
com.android.tradefed.error.HarnessException
|
الفئات الفرعية المباشرة المعروفة
|
الفئات الفرعية غير المباشرة المعروفة
|
فئة الاستثناء الأساسية للاستثناء الذي تم طرحه داخل الحِزمة تساعد هذه الفئة في نقل ErrorIdentifier
للإبلاغ عن تفاصيل الخطأ.
ملخّص
وظائف الإنشاء العامة
HarnessException
public HarnessException (ErrorIdentifier errorId)
المعلمات |
errorId |
ErrorIdentifier |
HarnessException
public HarnessException (String message,
ErrorIdentifier errorId)
المعلمات |
message |
String |
errorId |
ErrorIdentifier |
HarnessException
public HarnessException (String message,
Throwable cause,
ErrorIdentifier errorId)
المعلمات |
message |
String |
cause |
Throwable |
errorId |
ErrorIdentifier |
HarnessException
public HarnessException (Throwable cause,
ErrorIdentifier errorId)
المعلمات |
cause |
Throwable |
errorId |
ErrorIdentifier |
الطرق العامة
getOrigin
public String getOrigin ()
لعرض مصدر الاستثناء.
toString
public String toString ()
الطرق المحمية
setCallerClass
protected final void setCallerClass (Class<?> clazz)
setCallerClass
protected final void setCallerClass (String clazz)
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-03-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]