TargetSetupError

public class TargetSetupError
extends HarnessException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.android.tradefed.error.HarnessException
         ↳ com.android.tradefed.targetprep.TargetSetupError


אירעה שגיאה חמורה במהלך ההכנה של היעד לבדיקה.

סיכום

‫constructors ציבוריים

TargetSetupError(String reason)

ה-constructor הזה הוצא משימוש. במקומה, צריך להשתמש ב-method‏ TargetSetupError(String,DeviceDescriptor).

TargetSetupError(String reason, DeviceDescriptor descriptor)

יוצר (@link TargetSetupError} חדש עם הודעת שגיאה משמעותית.

TargetSetupError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)

יוצר (@link TargetSetupError} חדש עם הודעת שגיאה משמעותית.

TargetSetupError(String reason, ErrorIdentifier errorId)

יוצר (@link TargetSetupError} חדש עם הודעת שגיאה משמעותית.

TargetSetupError(String reason, Throwable cause)

ה-constructor הזה הוצא משימוש. במקומה, צריך להשתמש ב-method‏ TargetSetupError(String,Throwable,DeviceDescriptor,ErrorIdentifier).

TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide, ErrorIdentifier errorId)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

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

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

TargetSetupError(String reason, Throwable cause, ErrorIdentifier errorId)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

‫methods ציבוריים

String getDeviceSerial()

מחזירה את המספר הסידורי של המכשיר שהושפע מהשגיאה TargetSetupError.

‫constructors ציבוריים

TargetSetupError

public TargetSetupError (String reason)

הבונה הזה הוצא משימוש.
במקום זאת, צריך להשתמש ב-TargetSetupError(String,DeviceDescriptor).

יוצר (@link TargetSetupError} חדש עם הודעת שגיאה משמעותית.

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

TargetSetupError

public TargetSetupError (String reason, 
                DeviceDescriptor descriptor)

יוצר (@link TargetSetupError} חדש עם הודעת שגיאה משמעותית.

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

descriptor DeviceDescriptor: תיאור המכשיר הרלוונטי

TargetSetupError

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

יוצר (@link TargetSetupError} חדש עם הודעת שגיאה משמעותית.

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

descriptor DeviceDescriptor: תיאור המכשיר הרלוונטי

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

TargetSetupError

public TargetSetupError (String reason, 
                ErrorIdentifier errorId)

יוצר (@link TargetSetupError} חדש עם הודעת שגיאה משמעותית.

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

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

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause)

הבונה הזה הוצא משימוש.
במקום זאת, צריך להשתמש ב-TargetSetupError(String,Throwable,DeviceDescriptor,ErrorIdentifier).

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

פרמטרים
reason String: הודעת שגיאה מפורטת.

cause Throwable: Throwable שמתעד את הסיבה המקורית ל-TargetSetupError

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

פרמטרים
reason String: הודעת שגיאה מפורטת.

cause Throwable: Throwable שמתעד את הסיבה המקורית ל-TargetSetupError

descriptor DeviceDescriptor: התיאור של המכשיר הרלוונטי, יכול להיות null.

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor, 
                boolean deviceSide)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

פרמטרים
reason String: הודעת שגיאה מפורטת.

cause Throwable: Throwable שמתעד את הסיבה המקורית ל-TargetSetupError

descriptor DeviceDescriptor: התיאור של המכשיר הרלוונטי, יכול להיות null.

deviceSide boolean: האם החריגה נוצרה בגלל שגיאה בצד המכשיר.

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor, 
                boolean deviceSide, 
                ErrorIdentifier errorId)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

פרמטרים
reason String: הודעת שגיאה מפורטת.

cause Throwable: Throwable שמתעד את הסיבה המקורית ל-TargetSetupError

descriptor DeviceDescriptor: התיאור של המכשיר הרלוונטי, יכול להיות null.

deviceSide boolean: האם החריגה נוצרה בגלל שגיאה בצד המכשיר.

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

TargetSetupError

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

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

פרמטרים
reason String: הודעת שגיאה מפורטת.

cause Throwable: Throwable שמתעד את הסיבה המקורית ל-TargetSetupError

descriptor DeviceDescriptor: התיאור של המכשיר הרלוונטי, יכול להיות null.

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

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                ErrorIdentifier errorId)

יוצר אובייקט חדש (@link TargetSetupError} עם הודעת שגיאה משמעותית וסיבה.

פרמטרים
reason String: הודעת שגיאה מפורטת.

cause Throwable: Throwable שמתעד את הסיבה המקורית ל-TargetSetupError

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

‫methods ציבוריים

getDeviceSerial

public String getDeviceSerial ()

מחזירה את המספר הסידורי של המכשיר שהושפע מהשגיאה TargetSetupError. יכול להיות null.

החזרות
String