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を返します。 null にすることができます。

戻り値
ErrorIdentifier

getOrigin

public String getOrigin ()

例外の発生元を返します。

戻り値
String

toString

public String toString ()

戻り値
String

保護されたメソッド

setCallerClass

protected final void setCallerClass (Class<?> clazz)

パラメーター
clazz Class