Ab dem 27. März 2025 empfehlen wir, android-latest-release
anstelle von aosp-main
zu verwenden, um AOSP zu erstellen und Beiträge dazu zu leisten. Weitere Informationen finden Sie unter Änderungen am AOSP.
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
FatalHostError
public
class
FatalHostError
extends HarnessRuntimeException
Bekannte direkte Unterklassen
|
Eine Ausnahme, die darauf hinweist, dass auf dem Hostcomputer, auf dem TradeFederation ausgeführt wird, ein schwerwiegender Fehler aufgetreten ist, der nicht behoben werden kann, und dass die TradeFederation-Instanz heruntergefahren werden sollte.
Zusammenfassung
Öffentliche Konstruktoren
FatalHostError
public FatalHostError (String msg)
Erstellt einen FatalHostError
.
Parameter |
msg |
String : die ausführliche Meldung |
FatalHostError
public FatalHostError (String msg,
ErrorIdentifier errorId)
Erstellt einen FatalHostError
.
Parameter |
msg |
String : die ausführliche Meldung |
errorId |
ErrorIdentifier : die zugehörige Fehler-ID |
FatalHostError
public FatalHostError (String msg,
Throwable cause)
Erstellt einen FatalHostError
.
Parameter |
msg |
String : die ausführliche Meldung |
cause |
Throwable : die ursprüngliche Ursache des schwerwiegenden Hostfehlers. |
FatalHostError
public FatalHostError (String msg,
Throwable cause,
ErrorIdentifier errorId)
Erstellt einen FatalHostError
.
Parameter |
msg |
String : die ausführliche Meldung |
cause |
Throwable : die ursprüngliche Ursache des schwerwiegenden Hostfehlers. |
errorId |
ErrorIdentifier : die zugehörige Fehler-ID |
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-27 (UTC)."],[],[],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))"]]