A partir de 27 de março de 2025, recomendamos usar android-latest-release
em vez de aosp-main
para criar e contribuir com o AOSP. Para mais informações, consulte Mudanças no AOSP.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
FatalHostError
public
class
FatalHostError
extends HarnessRuntimeException
Subclasses diretas conhecidas
|
Uma exceção que indica que ocorreu um erro fatal irreversível na máquina host que executa
o TradeFederation e que a instância do TradeFederation precisa ser encerrada.
Resumo
Construtores públicos
FatalHostError
public FatalHostError (String msg)
Cria um FatalHostError
.
Parâmetros |
msg |
String : a mensagem detalhada |
FatalHostError
public FatalHostError (String msg,
ErrorIdentifier errorId)
Cria um FatalHostError
.
Parâmetros |
msg |
String : a mensagem detalhada |
errorId |
ErrorIdentifier : o identificador de erro associado |
FatalHostError
public FatalHostError (String msg,
Throwable cause)
Cria um FatalHostError
.
Parâmetros |
msg |
String : a mensagem detalhada |
cause |
Throwable : a causa original do erro fatal do host. |
FatalHostError
public FatalHostError (String msg,
Throwable cause,
ErrorIdentifier errorId)
Cria um FatalHostError
.
Parâmetros |
msg |
String : a mensagem detalhada |
cause |
Throwable : a causa original do erro fatal do host. |
errorId |
ErrorIdentifier : o identificador de erro associado |
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-27 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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))"]]