HarnessIOException
public
class
HarnessIOException
extends Object
implements
IHarnessException
| java.lang.Object | |
| ↳ | com.android.tradefed.error.HarnessIOException |
可協助處理檔案問題的 Harness 例外狀況。
摘要
公用建構函式 | |
|---|---|
HarnessIOException(Throwable cause, ErrorIdentifier errorId)
|
|
公用方法 | |
|---|---|
ErrorIdentifier
|
getErrorId()
傳回與例外狀況相關聯的 |
String
|
getOrigin()
傳回例外狀況的來源。 |
公用建構函式
HarnessIOException
public HarnessIOException (Throwable cause,
ErrorIdentifier errorId)| 參數 | |
|---|---|
cause |
Throwable |
errorId |
ErrorIdentifier |
公用方法
getErrorId
public ErrorIdentifier getErrorId ()
傳回與例外狀況相關聯的 ErrorIdentifier。可為空值。
| 傳回 | |
|---|---|
ErrorIdentifier |
|
getOrigin
public String getOrigin ()
傳回例外狀況的來源。
| 傳回 | |
|---|---|
String |
|