Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
FatalHostError
public
class
FatalHostError
extends HarnessRuntimeException
Znane bezpośrednie podklasy
|
Wyjątek wskazujący, że na maszynie hosta, na której działa TradeFederation, wystąpił nieodwracalny błąd, oraz że instancja TradeFederation powinna zostać zamknięta.
Podsumowanie
Konstruktory publiczne
FatalHostError
public FatalHostError (String msg)
Tworzy FatalHostError
.
Parametry |
msg |
String : szczegółowa wiadomość |
FatalHostError
public FatalHostError (String msg,
ErrorIdentifier errorId)
Tworzy FatalHostError
.
Parametry |
msg |
String : szczegółowa wiadomość |
errorId |
ErrorIdentifier : powiązany identyfikator błędu |
FatalHostError
public FatalHostError (String msg,
Throwable cause)
Tworzy FatalHostError
.
Parametry |
msg |
String : szczegółowa wiadomość |
cause |
Throwable : pierwotna przyczyna krytycznego błędu hosta. |
FatalHostError
public FatalHostError (String msg,
Throwable cause,
ErrorIdentifier errorId)
Tworzy FatalHostError
.
Parametry |
msg |
String : szczegółowa wiadomość |
cause |
Throwable : pierwotna przyczyna krytycznego błędu hosta. |
errorId |
ErrorIdentifier : powiązany identyfikator błędu |
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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))"]]