اعتبارًا من 27 آذار (مارس) 2025، ننصحك باستخدام android-latest-release
بدلاً من aosp-main
لإنشاء AOSP والمساهمة فيه. لمزيد من المعلومات، يُرجى الاطّلاع على التغييرات في AOSP.
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
FatalHostError
public
class
FatalHostError
extends HarnessRuntimeException
الفئات الفرعية المباشرة المعروفة
|
استثناء يشير إلى حدوث خطأ خطير يتعذّر إصلاحه على الجهاز المضيف الذي يشغّل
TradeFederation، ويجب إغلاق مثيل TradeFederation.
ملخّص
وظائف الإنشاء العامة
FatalHostError
public FatalHostError (String msg)
لإنشاء FatalHostError
.
المعلمات |
msg |
String : الرسالة التفصيلية |
FatalHostError
public FatalHostError (String msg,
ErrorIdentifier errorId)
لإنشاء FatalHostError
.
المعلمات |
msg |
String : الرسالة التفصيلية |
errorId |
ErrorIdentifier : معرّف الخطأ المرتبط |
FatalHostError
public FatalHostError (String msg,
Throwable cause)
لإنشاء FatalHostError
.
المعلمات |
msg |
String : الرسالة التفصيلية |
cause |
Throwable : السبب الأصلي لخطأ المضيف الخطير |
FatalHostError
public FatalHostError (String msg,
Throwable cause,
ErrorIdentifier errorId)
لإنشاء FatalHostError
.
المعلمات |
msg |
String : الرسالة التفصيلية |
cause |
Throwable : السبب الأصلي لخطأ المضيف الخطير |
errorId |
ErrorIdentifier : معرّف الخطأ المرتبط |
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# FatalHostError\n==============\n\n\n`\npublic\n\n\nclass\nFatalHostError\n`\n\n\n`\n\n\n`\n\n`\n\nextends `[HarnessRuntimeException](../../../../../../reference/tradefed/com/android/tradefed/error/HarnessRuntimeException.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|---------------------------------------------|\n| java.lang.Object |||\n| ↳ | [com.android.tradefed.error.HarnessRuntimeException](../../../../../../reference/tradefed/com/android/tradefed/error/HarnessRuntimeException.html) ||\n| | ↳ | com.android.tradefed.command.FatalHostError |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known direct subclasses [FileUtil.LowDiskSpaceException](../../../../../../reference/tradefed/com/android/tradefed/util/FileUtil.LowDiskSpaceException.html) |--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------| | [FileUtil.LowDiskSpaceException](../../../../../../reference/tradefed/com/android/tradefed/util/FileUtil.LowDiskSpaceException.html) | Thrown if usable disk space is below minimum threshold. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn exception that indicates a fatal unrecoverable error has occurred on the host machine running\nTradeFederation, and that the TradeFederation instance should be shut down.\n\nSummary\n-------\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html#FatalHostError(java.lang.String))`(String msg) ` Creates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html). |\n| ` `[FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html#FatalHostError(java.lang.String,%20com.android.tradefed.result.error.ErrorIdentifier))`(String msg, `[ErrorIdentifier](../../../../../../reference/tradefed/com/android/tradefed/result/error/ErrorIdentifier.html)` errorId) ` Creates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html). |\n| ` `[FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html#FatalHostError(java.lang.String,%20java.lang.Throwable))`(String msg, Throwable cause) ` Creates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html). |\n| ` `[FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html#FatalHostError(java.lang.String,%20java.lang.Throwable,%20com.android.tradefed.result.error.ErrorIdentifier))`(String msg, Throwable cause, `[ErrorIdentifier](../../../../../../reference/tradefed/com/android/tradefed/result/error/ErrorIdentifier.html)` errorId) ` Creates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html). |\n\nPublic constructors\n-------------------\n\n### FatalHostError\n\n```\npublic FatalHostError (String msg)\n```\n\nCreates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------|---------------------------------------|\n| `msg` | `String`: the detailed message \u003cbr /\u003e |\n\n**See also:**\n\n- [RuntimeException.RuntimeException(String)](../../../../../../reference/tradefed/java/lang/RuntimeException.html#RuntimeException(java.lang.String)) \n\n### FatalHostError\n\n```\npublic FatalHostError (String msg, \n ErrorIdentifier errorId)\n```\n\nCreates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------------------------------------------------|\n| `msg` | `String`: the detailed message \u003cbr /\u003e |\n| `errorId` | `ErrorIdentifier`: the error identifier associated \u003cbr /\u003e |\n\n**See also:**\n\n- [RuntimeException.RuntimeException(String)](../../../../../../reference/tradefed/java/lang/RuntimeException.html#RuntimeException(java.lang.String)) \n\n### FatalHostError\n\n```\npublic FatalHostError (String msg, \n Throwable cause)\n```\n\nCreates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|-----------------------------------------------------------------|\n| `msg` | `String`: the detailed message \u003cbr /\u003e |\n| `cause` | `Throwable`: the original cause of the fatal host error. \u003cbr /\u003e |\n\n**See also:**\n\n- [RuntimeException.RuntimeException(String, Throwable)](../../../../../../reference/tradefed/java/lang/RuntimeException.html#RuntimeException(java.lang.String,%20java.lang.Throwable)) \n\n### FatalHostError\n\n```\npublic FatalHostError (String msg, \n Throwable cause, \n ErrorIdentifier errorId)\n```\n\nCreates a [FatalHostError](../../../../../../reference/tradefed/com/android/tradefed/command/FatalHostError.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------------------------------------------------------|\n| `msg` | `String`: the detailed message \u003cbr /\u003e |\n| `cause` | `Throwable`: the original cause of the fatal host error. \u003cbr /\u003e |\n| `errorId` | `ErrorIdentifier`: the error identifier associated \u003cbr /\u003e |\n\n**See also:**\n\n- [RuntimeException.RuntimeException(String, Throwable)](../../../../../../reference/tradefed/java/lang/RuntimeException.html#RuntimeException(java.lang.String,%20java.lang.Throwable))"]]