HarnessRuntimeException
public
class
HarnessRuntimeException
extends Object
implements
IHarnessException
| java.lang.Object | |
| ↳ | com.android.tradefed.error.HarnessRuntimeException |
概要
パブリック コンストラクタ | |
|---|---|
HarnessRuntimeException(String message, IHarnessException cause)
例外のコンストラクタ。 |
|
HarnessRuntimeException(String message, ErrorIdentifier errorId)
例外のコンストラクタ。 |
|
HarnessRuntimeException(String message, ErrorIdentifier defaultError, IHarnessException cause)
例外のコンストラクタ。 |
|
HarnessRuntimeException(String message, Throwable cause, ErrorIdentifier errorId)
例外のコンストラクタ。 |
|
パブリック メソッド | |
|---|---|
ErrorIdentifier
|
getErrorId()
例外に関連付けられた |
String
|
getOrigin()
例外の発生元を返します。 |
String
|
toString()
|
保護されたメソッド | |
|---|---|
final
void
|
setCallerClass(Class<?> clazz)
|
パブリック コンストラクタ
HarnessRuntimeException
public HarnessRuntimeException (String message,
IHarnessException cause)例外のコンストラクタ。
| パラメータ | |
|---|---|
message |
String: 例外に関連付けられたメッセージ |
cause |
IHarnessException: 例外を発生させた IHarnessException。 |
HarnessRuntimeException
public HarnessRuntimeException (String message,
ErrorIdentifier errorId)例外のコンストラクタ。
| パラメータ | |
|---|---|
message |
String: 例外に関連付けられたメッセージ |
errorId |
ErrorIdentifier: 例外を分類する ErrorIdentifier。 |
HarnessRuntimeException
public HarnessRuntimeException (String message,
ErrorIdentifier defaultError,
IHarnessException cause)例外のコンストラクタ。
| パラメータ | |
|---|---|
message |
String: 例外に関連付けられたメッセージ。 |
defaultError |
ErrorIdentifier: 例外で設定されていない場合に適用する ErrorIdentifier。 |
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 |