BuildRetrievalError
public class BuildRetrievalError
extends HarnessException
java.lang.Object | ||
↳ | com.android.tradefed.error.HarnessException | |
↳ | com.android.tradefed.build.BuildRetrievalError |
テスト用のビルドを取得中に致命的なエラーが発生しました。
まとめ
パブリック コンストラクター | |
---|---|
BuildRetrievalError (String reason) 意味のあるエラー メッセージを持つ新しい | |
BuildRetrievalError (String reason, ErrorIdentifier errorId) 意味のあるエラー メッセージを持つ新しい | |
BuildRetrievalError (String reason, Throwable cause) 意味のあるエラー メッセージと原因を指定して、新しい | |
BuildRetrievalError (String reason, Throwable cause, ErrorIdentifier errorId) 意味のあるエラー メッセージと原因を指定して、新しい | |
BuildRetrievalError (String reason, Throwable cause, IBuildInfo build) 意味のあるエラー メッセージ、原因、およびビルドの詳細を指定して、新しい | |
BuildRetrievalError (String reason, Throwable cause, ErrorIdentifier errorId, IBuildInfo build) 意味のあるエラー メッセージ、原因、およびビルドの詳細を指定して、新しい |
公開メソッド | |
---|---|
IBuildInfo | getBuildInfo () 取得しようとしたビルドに関する詳細を返します。 |
void | setBuildInfo ( IBuildInfo build) ビルド情報を設定します。 |
パブリック コンストラクター
BuildRetrievalError
public BuildRetrievalError (String reason)
意味のあるエラー メッセージを持つ新しいBuildRetrievalError
を構築します。
パラメーター | |
---|---|
reason | String : エラーの原因を説明するエラー メッセージ |
BuildRetrievalError
public BuildRetrievalError (String reason, ErrorIdentifier errorId)
意味のあるエラー メッセージを持つ新しいBuildRetrievalError
を構築します。
パラメーター | |
---|---|
reason | String : エラーの原因を説明するエラー メッセージ |
errorId | ErrorIdentifier : このエラーのエラー識別子。 |
BuildRetrievalError
public BuildRetrievalError (String reason, Throwable cause)
意味のあるエラー メッセージと原因を指定して、新しいBuildRetrievalError
を構築します。
パラメーター | |
---|---|
reason | String : 詳細なエラー メッセージ。 |
cause | Throwable : ProvideBuildError の元の原因をキャプチャするERROR(/Throwable) |
BuildRetrievalError
public BuildRetrievalError (String reason, Throwable cause, ErrorIdentifier errorId)
意味のあるエラー メッセージと原因を指定して、新しいBuildRetrievalError
を構築します。
パラメーター | |
---|---|
reason | String : 詳細なエラー メッセージ。 |
cause | Throwable : ProvideBuildError の元の原因をキャプチャするERROR(/Throwable) |
errorId | ErrorIdentifier : このエラーのエラー識別子。 |
BuildRetrievalError
public BuildRetrievalError (String reason, Throwable cause, IBuildInfo build)
意味のあるエラー メッセージ、原因、およびビルドの詳細を指定して、新しいBuildRetrievalError
を構築します。
パラメーター | |
---|---|
reason | String : 詳細なエラー メッセージ。 |
cause | Throwable : ProvideBuildError の元の原因をキャプチャするERROR(/Throwable) |
build | IBuildInfo : 取得しようとしたビルドに関する詳細 |
BuildRetrievalError
public BuildRetrievalError (String reason, Throwable cause, ErrorIdentifier errorId, IBuildInfo build)
意味のあるエラー メッセージ、原因、およびビルドの詳細を指定して、新しいBuildRetrievalError
を構築します。
パラメーター | |
---|---|
reason | String : 詳細なエラー メッセージ。 |
cause | Throwable : ProvideBuildError の元の原因をキャプチャするERROR(/Throwable) |
errorId | ErrorIdentifier : このエラーのエラー識別子。 |
build | IBuildInfo : 取得しようとしたビルドに関する詳細 |
公開メソッド
getBuildInfo
public IBuildInfo getBuildInfo ()
取得しようとしたビルドに関する詳細を返します。
返されるIBuildInfo
null になることはありませんが、build_id などのデータが欠落している可能性があります。戻り値 | |
---|---|
IBuildInfo | IBuildInfo |
setBuildInfo
public void setBuildInfo (IBuildInfo build)
ビルド情報を設定します。
パラメーター | |
---|---|
build | IBuildInfo : IBuildInfo |