HarnessRuntimeException

public class HarnessRuntimeException
extends Object implements IHarnessException

java.lang.Object
com.android.tradefed.error.HarnessRuntimeException


סיכום

בנאים ציבוריים

HarnessRuntimeException (String message, ErrorIdentifier errorId)

קונסטרוקטור לחריג.

HarnessRuntimeException (String message, IHarnessException cause)

קונסטרוקטור לחריג.

HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)

קונסטרוקטור לחריג.

שיטות ציבוריות

ErrorIdentifier getErrorId ()

מחזירה את ErrorIdentifier המשויך לחריג.

String getOrigin ()

מחזירה את מקור החריג.

String toString ()

שיטות מוגנות

final void setCallerClass (Class<?> clazz)

בנאים ציבוריים

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier errorId)

קונסטרוקטור לחריג.

פרמטרים
message String : ההודעה המשויכת לחריגה

errorId ErrorIdentifier : ה- ErrorIdentifier שמסווג את החריג.

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                IHarnessException cause)

קונסטרוקטור לחריג.

פרמטרים
message String : ההודעה המשויכת לחריגה

cause IHarnessException : IHarnessException שגרם לחריגה.

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                Throwable cause, 
                ErrorIdentifier errorId)

קונסטרוקטור לחריג.

פרמטרים
message String : ההודעה המשויכת לחריגה

cause Throwable : הסיבה לחריגה

errorId ErrorIdentifier : ה- ErrorIdentifier שמסווג את החריג.

שיטות ציבוריות

getErrorId

public ErrorIdentifier getErrorId ()

מחזירה את ErrorIdentifier המשויך לחריג. יכול להיות ריק.

החזרות
ErrorIdentifier

getOrigin

public String getOrigin ()

מחזירה את מקור החריג.

החזרות
String

toString

public String toString ()

החזרות
String

שיטות מוגנות

setCallerClass

protected final void setCallerClass (Class<?> clazz)

פרמטרים
clazz Class