DeviceFailedToBootError

public class DeviceFailedToBootError
extends BuildError

java.lang.Object
   ↳ com.android.tradefed.error.HarnessException
     ↳ com.android.tradefed.targetprep.BuildError
       ↳ com.android.tradefed.targetprep.DeviceFailedToBootError


הבעיה הזו מתרחשת אם המכשיר לא מצליח להפעיל את עצמו אחרי ש-build מסוים הוטמע בו.

סיכום

קונסטרוקטורים גלויים לכולם

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor)

ה-constructor הזה הוצא משימוש. במקום זאת, אתם צריכים להשתמש ב-DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier).

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)

יצירת אובייקט חדש של @link DeviceFailedToBootError עם הודעת שגיאה מפורטת.

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor, Throwable cause, ErrorIdentifier errorId)

יצירת אובייקט חדש של @link DeviceFailedToBootError עם הודעת שגיאה מפורטת.

קונסטרוקטורים גלויים לכולם

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor)

ה-constructor הזה הוצא משימוש.
במקום זאת, צריך להשתמש ב-DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier)

יצירת אובייקט חדש של @link DeviceFailedToBootError עם הודעת שגיאה מפורטת.

פרמטרים
reason String: הודעת שגיאה עם פרטים נוספים על כשל האתחול

descriptor DeviceDescriptor: התיאור של המכשיר שאליו מתייחסת החריגה

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                ErrorIdentifier errorId)

יצירת אובייקט חדש של @link DeviceFailedToBootError עם הודעת שגיאה מפורטת.

פרמטרים
reason String: הודעת שגיאה עם פרטים נוספים על כשל האתחול

descriptor DeviceDescriptor: התיאור של המכשיר שאליו מתייחסת החריגה

errorId ErrorIdentifier: מזהה השגיאה של השגיאה הזו.

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                Throwable cause, 
                ErrorIdentifier errorId)

יצירת אובייקט חדש של @link DeviceFailedToBootError עם הודעת שגיאה מפורטת.

פרמטרים
reason String: הודעת שגיאה עם פרטים נוספים על כשל האתחול

descriptor DeviceDescriptor: התיאור של המכשיר שאליו מתייחסת החריגה

cause Throwable: הגורם המקורי לחריגה

errorId ErrorIdentifier: מזהה השגיאה של השגיאה הזו.