HarnessIOException

public class HarnessIOException
extends IOException implements IHarnessException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ com.android.tradefed.error.HarnessIOException


חריג של Harness שעוזר לטפל בבעיות בקבצים.

סיכום

‫constructors ציבוריים

HarnessIOException(Throwable cause, ErrorIdentifier errorId)

‫methods ציבוריים

ErrorIdentifier getErrorId()

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

String getOrigin()

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

‫constructors ציבוריים

HarnessIOException

public HarnessIOException (Throwable cause, 
                ErrorIdentifier errorId)

פרמטרים
cause Throwable

errorId ErrorIdentifier

‫methods ציבוריים

getErrorId

public ErrorIdentifier getErrorId ()

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

החזרות
ErrorIdentifier

getOrigin

public String getOrigin ()

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

החזרות
String