線束IO異常

public class HarnessIOException
extends Object implements IHarnessException

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


利用異常有助於處理文件問題。

概括

公共構造函數

HarnessIOException (Throwable cause, ErrorIdentifier errorId)

公共方法

ErrorIdentifier getErrorId ()

傳回與異常關聯的ErrorIdentifier

String getOrigin ()

傳回異常的起源。

公共構造函數

線束IO異常

public HarnessIOException (Throwable cause, 
                ErrorIdentifier errorId)

參數
cause Throwable

errorId ErrorIdentifier

公共方法

取得錯誤ID

public ErrorIdentifier getErrorId ()

傳回與異常關聯的ErrorIdentifier 。可以為空。

退貨
ErrorIdentifier

取得原點

public String getOrigin ()

傳回異常的起源。

退貨
String