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.
SubprocessEventHelper.InvocationFailedEventInfo
public
static
class
SubprocessEventHelper.InvocationFailedEventInfo
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.SubprocessEventHelper.InvocationFailedEventInfo
|
Pomoc dotycząca informacji o InvocationFailed.
Podsumowanie
Fieldsem
mCause
public Throwable mCause
Konstruktory publiczne
InvocationFailedEventInfo
public InvocationFailedEventInfo (FailureDescription failure)
Parametry |
failure |
FailureDescription |
InvocationFailedEventInfo
public InvocationFailedEventInfo (JSONObject jsonObject)
Parametry |
jsonObject |
JSONObject |
InvocationFailedEventInfo
public InvocationFailedEventInfo (Throwable cause)
Parametry |
cause |
Throwable |
Metody publiczne
toString
public String toString ()
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,["# SubprocessEventHelper.InvocationFailedEventInfo\n===============================================\n\n\n`\npublic\nstatic\n\n\nclass\nSubprocessEventHelper.InvocationFailedEventInfo\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|---------------------------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.util.SubprocessEventHelper.InvocationFailedEventInfo |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nHelper for InvocationFailed information.\n\nSummary\n-------\n\n| ### Fields ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| ` public Throwable` | [mCause](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.InvocationFailedEventInfo.html#mCause) |\n| ` public `[FailureDescription](../../../../../../reference/tradefed/com/android/tradefed/result/FailureDescription.html) | [mFailure](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.InvocationFailedEventInfo.html#mFailure) |\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[InvocationFailedEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.InvocationFailedEventInfo.html#InvocationFailedEventInfo(com.android.tradefed.result.FailureDescription))`(`[FailureDescription](../../../../../../reference/tradefed/com/android/tradefed/result/FailureDescription.html)` failure) ` |\n| ` `[InvocationFailedEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.InvocationFailedEventInfo.html#InvocationFailedEventInfo(org.json.JSONObject))`(JSONObject jsonObject) ` |\n| ` `[InvocationFailedEventInfo](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.InvocationFailedEventInfo.html#InvocationFailedEventInfo(java.lang.Throwable))`(Throwable cause) ` |\n\n| ### Public methods ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` String` | ` `[toString](../../../../../../reference/tradefed/com/android/tradefed/util/SubprocessEventHelper.InvocationFailedEventInfo.html#toString())`() ` |\n\nFields\n------\n\n### mCause\n\n```\npublic Throwable mCause\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### mFailure\n\n```\npublic FailureDescription mFailure\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic constructors\n-------------------\n\n### InvocationFailedEventInfo\n\n```\npublic InvocationFailedEventInfo (FailureDescription failure)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------------------|\n| `failure` | `FailureDescription` \u003cbr /\u003e |\n\n### InvocationFailedEventInfo\n\n```\npublic InvocationFailedEventInfo (JSONObject jsonObject)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------|---------------------|\n| `jsonObject` | `JSONObject` \u003cbr /\u003e |\n\n| Throws ||\n|-----------------|---|\n| `JSONException` | |\n\n### InvocationFailedEventInfo\n\n```\npublic InvocationFailedEventInfo (Throwable cause)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|--------------------|\n| `cause` | `Throwable` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### toString\n\n```\npublic String toString ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |"]]