TargetSetupError
public class TargetSetupError
extends Object
java.lang.Object | |
↳ | com.android.tradefed.targetprep.TargetSetupError |
テスト用のターゲットの準備中に致命的なエラーが発生しました。
概要
パブリックコンストラクター | |
---|---|
TargetSetupError (String reason) このコンストラクターは非推奨です。代わりに | |
TargetSetupError (String reason, DeviceDescriptor descriptor) 意味のあるエラーメッセージを含む新しい(@link TargetSetupError}を作成します。 | |
TargetSetupError (String reason, Throwable cause) このコンストラクターは非推奨です。代わりに | |
TargetSetupError (String reason, Throwable cause, DeviceDescriptor descriptor) 意味のあるエラーメッセージと原因を含む新しい(@link TargetSetupError}を作成します。 |
パブリックメソッド | |
---|---|
DeviceDescriptor | getDeviceDescriptor () 例外に関連付けられているデバイスの記述子を返します。 |
パブリックコンストラクター
TargetSetupError
public TargetSetupError (String reason)
このコンストラクターは非推奨です。
代わりにTargetSetupError(String, com.android.tradefed.command.remote.DeviceDescriptor)
使用してください。
意味のあるエラーメッセージを含む新しい(@link TargetSetupError}を作成します。
パラメーター | |
---|---|
reason | String :エラーの原因を説明するエラーメッセージ |
TargetSetupError
public TargetSetupError (String reason, DeviceDescriptor descriptor)
意味のあるエラーメッセージを含む新しい(@link TargetSetupError}を作成します。
パラメーター | |
---|---|
reason | String :エラーの原因を説明するエラーメッセージ |
descriptor | DeviceDescriptor :関連するデバイスの記述子 |
TargetSetupError
public TargetSetupError (String reason, Throwable cause)
このコンストラクターは非推奨です。
代わりにTargetSetupError(String, Throwable, com.android.tradefed.command.remote.DeviceDescriptor)
使用してください。
意味のあるエラーメッセージと原因を含む新しい(@link TargetSetupError}を作成します。
パラメーター | |
---|---|
reason | String :詳細なエラーメッセージ。 |
cause | Throwable :TargetSetupErrorの元の原因をキャプチャするThrowable |
TargetSetupError
public TargetSetupError (String reason, Throwable cause, DeviceDescriptor descriptor)
意味のあるエラーメッセージと原因を含む新しい(@link TargetSetupError}を作成します。
パラメーター | |
---|---|
reason | String :詳細なエラーメッセージ。 |
cause | Throwable :TargetSetupErrorの元の原因をキャプチャするThrowable |
descriptor | DeviceDescriptor :関連するデバイスの記述子 |
パブリックメソッド
getDeviceDescriptor
public DeviceDescriptor getDeviceDescriptor ()
例外に関連付けられているデバイスの記述子を返します。
戻り値 | |
---|---|
DeviceDescriptor |