TableServiceException クラス

  • java.lang.Object
    • Exception

public class TableServiceException extends StorageException

テーブル ストレージ サービス操作が正常に完了しなかった場合に発生する例外。

コンストラクターの概要

コンストラクター 説明
TableServiceException(final int httpStatusCode, final String message, final TableOperation operation, final Reader reader, final TablePayloadFormat format)

内部使用のために予約されています。 指定した HTTP 状態コード、メッセージ、操作、ストリーム リーダーを使用してインスタンスを構築します。

TableServiceException(final String errorCode, final String message, final int statusCode, final StorageExtendedErrorInformation extendedErrorInfo, final Exception innerException)

指定したエラー コード、メッセージ、状態コード、拡張エラー情報、および内部例外を使用してインスタンスを構築します。

メソッドの概要

修飾子と型 メソッドと説明
TableServiceException generateTableServiceException(RequestResult res, TableOperation op, InputStream inStream, TablePayloadFormat format)

内部使用のために予約されています。 指定したパラメーターを使用してインスタンスを TableServiceException 作成する静的ファクトリ メソッド。

TableOperation getOperation()

がスローされる原因となったテーブル操作を取得します。

void setOperation(final TableOperation operation)

内部使用のために予約されています。 がスローされる原因となったテーブル操作を設定します。

継承メンバー

コンストラクターの詳細

TableServiceException

protected TableServiceException(final int httpStatusCode, final String message, final TableOperation operation, final Reader reader, final TablePayloadFormat format)

内部使用のために予約されています。 指定した HTTP 状態コード、メッセージ、操作、ストリーム リーダーを使用してインスタンスを構築します。

Parameters:

httpStatusCode - 例外の int 原因となったテーブル操作によって返される HTTP 状態コードの値。
message - String例外の原因となったエラーの説明。
operation - TableOperation例外が発生したときに進行中だったテーブル操作を表す オブジェクト。
reader - Java.IO.Streamテーブル操作によって返される HTTP 要求結果の派生ストリーム リーダー (存在する場合)。
format - TablePayloadFormat解析に使用する 。

TableServiceException

public TableServiceException(final String errorCode, final String message, final int statusCode, final StorageExtendedErrorInformation extendedErrorInfo, final Exception innerException)

指定したエラー コード、メッセージ、状態コード、拡張エラー情報、および内部例外を使用してインスタンスを構築します。

Parameters:

errorCode - Stringテーブル操作によって返されるエラー コードを表す 。
message - Stringテーブル操作によって返されるエラー メッセージを表す 。
statusCode - intテーブル操作によって返される HTTP 状態コードを表す 。
extendedErrorInfo - StorageExtendedErrorInformationテーブル操作によって返される拡張エラー情報を表す オブジェクト。
innerException - 最初の Exception 例外への参照を表す オブジェクト (存在する場合)。

メソッドの詳細

generateTableServiceException

protected static TableServiceException generateTableServiceException(RequestResult res, TableOperation op, InputStream inStream, TablePayloadFormat format)

内部使用のために予約されています。 指定したパラメーターを使用してインスタンスを TableServiceException 作成する静的ファクトリ メソッド。

Parameters:

res - RequestResultテーブル ストレージ サービス操作の結果を格納している 。
op - TableOperation例外の原因となったテーブル操作を表す 。
inStream - java.io.InputStreamテーブル操作要求からのエラー応答の 。
format - TablePayloadFormat解析に使用する 。

Returns:

TableServiceException入力パラメーターの値で初期化された インスタンス。

getOperation

public TableOperation getOperation()

がスローされる原因となったテーブル操作を取得します。

Returns:

TableOperationこれがTableServiceExceptionスローされる原因となったテーブル操作を表す オブジェクト。

setOperation

protected void setOperation(final TableOperation operation)

内部使用のために予約されています。 がスローされる原因となったテーブル操作を設定します。

Parameters:

operation - TableOperationこれがTableServiceExceptionスローされる原因となったテーブル操作を表す オブジェクト。

適用対象