TargetSetupError

public class TargetSetupError
extends HarnessException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
    com.android.tradefed.error.HarnessException
      com.android.tradefed.targetprep.TargetSetupError


テストの準備中に致命的なエラーが発生しました。

概要

パブリック コンストラクタ

TargetSetupError(String reason)

このコンストラクタは非推奨となりました。 TargetSetupError(String,DeviceDescriptor) を使用してください。

TargetSetupError(String reason, DeviceDescriptor descriptor)

意味のあるエラー メッセージを使用して、新しい {@link TargetSetupError} を構築します。

TargetSetupError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)

意味のあるエラー メッセージを使用して、新しい {@link TargetSetupError} を構築します。

TargetSetupError(String reason, ErrorIdentifier errorId)

意味のあるエラー メッセージを使用して、新しい {@link TargetSetupError} を構築します。

TargetSetupError(String reason, Throwable cause)

このコンストラクタは非推奨となりました。 TargetSetupError(String,Throwable,DeviceDescriptor,ErrorIdentifier) を使用してください。

TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide, ErrorIdentifier errorId)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, ErrorIdentifier errorId)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

TargetSetupError(String reason, Throwable cause, ErrorIdentifier errorId)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

パブリック メソッド

String getDeviceSerial()

TargetSetupError の影響を受けるデバイスのシリアル番号を返します。

パブリック コンストラクタ

TargetSetupError

public TargetSetupError (String reason)

このコンストラクタは非推奨となりました。
代わりに TargetSetupError(String,DeviceDescriptor) を使用してください。

意味のあるエラー メッセージを使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: エラーの原因を説明するエラー メッセージ

TargetSetupError

public TargetSetupError (String reason, 
                DeviceDescriptor descriptor)

意味のあるエラー メッセージを使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: エラーの原因を説明するエラー メッセージ

descriptor DeviceDescriptor: 該当するデバイスの記述子

TargetSetupError

public TargetSetupError (String reason, 
                DeviceDescriptor descriptor, 
                ErrorIdentifier errorId)

意味のあるエラー メッセージを使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: エラーの原因を説明するエラー メッセージ

descriptor DeviceDescriptor: 該当するデバイスの記述子

errorId ErrorIdentifier: このエラーのエラー識別子。

TargetSetupError

public TargetSetupError (String reason, 
                ErrorIdentifier errorId)

意味のあるエラー メッセージを使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: エラーの原因を説明するエラー メッセージ

errorId ErrorIdentifier: このエラーのエラー識別子。

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause)

このコンストラクタは非推奨となりました。
代わりに TargetSetupError(String,Throwable,DeviceDescriptor,ErrorIdentifier) を使用してください。

意味のあるエラー メッセージと原因を使用して、新しい {@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: 該当するデバイスの記述子。null の場合もあります。

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor, 
                boolean deviceSide)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: 詳細なエラー メッセージ。

cause Throwable: TargetSetupError の元の原因をキャプチャする Throwable

descriptor DeviceDescriptor: 該当するデバイスの記述子。null の場合もあります。

deviceSide boolean: デバイス側のエラーが原因で例外が生成されたかどうか。

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor, 
                boolean deviceSide, 
                ErrorIdentifier errorId)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: 詳細なエラー メッセージ。

cause Throwable: TargetSetupError の元の原因をキャプチャする Throwable

descriptor DeviceDescriptor: 該当するデバイスの記述子。null の場合もあります。

deviceSide boolean: デバイス側のエラーが原因で例外が生成されたかどうか。

errorId ErrorIdentifier: このエラーのエラー識別子。

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor, 
                ErrorIdentifier errorId)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: 詳細なエラー メッセージ。

cause Throwable: TargetSetupError の元の原因をキャプチャする Throwable

descriptor DeviceDescriptor: 該当するデバイスの記述子。null の場合もあります。

errorId ErrorIdentifier: このエラーのエラー識別子。

TargetSetupError

public TargetSetupError (String reason, 
                Throwable cause, 
                ErrorIdentifier errorId)

意味のあるエラー メッセージと原因を使用して、新しい {@link TargetSetupError} を構築します。

パラメータ
reason String: 詳細なエラー メッセージ。

cause Throwable: TargetSetupError の元の原因をキャプチャする Throwable

errorId ErrorIdentifier: このエラーのエラー識別子。

パブリック メソッド

getDeviceSerial

public String getDeviceSerial ()

TargetSetupError の影響を受けるデバイスのシリアル番号を返します。null の場合もあります。

戻り値
String