ハーネス例外
public class HarnessException
extends Object
implements IHarnessException
java.lang.Object |
↳ | com.android.tradefed.error.HarnessException |
ハーネス内でスローされる例外の基本例外クラス。このクラスは、エラーの詳細を報告するためにErrorIdentifier
を運ぶのに役立ちます。
まとめ
パブリック コンストラクター
ハーネス例外
public HarnessException (ErrorIdentifier errorId)
パラメーター |
---|
errorId | ErrorIdentifier |
ハーネス例外
public HarnessException (String message,
ErrorIdentifier errorId)
パラメーター |
---|
message | String |
errorId | ErrorIdentifier |
ハーネス例外
public HarnessException (Throwable cause,
ErrorIdentifier errorId)
パラメーター |
---|
cause | Throwable |
errorId | ErrorIdentifier |
ハーネス例外
public HarnessException (String message,
Throwable cause,
ErrorIdentifier errorId)
パラメーター |
---|
message | String |
cause | Throwable |
errorId | ErrorIdentifier |
公開メソッド
getOrigin
public String getOrigin ()
例外の発生元を返します。
toString
public String toString ()
保護されたメソッド
setCallerClass
protected final void setCallerClass (Class<?> clazz)
setCallerClass
protected final void setCallerClass (String clazz)