TableServiceException クラス
- java.
lang. Object - Exception
- StorageException
- com.
microsoft. azure. storage. table. TableServiceException
- com.
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) |
指定したエラー コード、メッセージ、状態コード、拡張エラー情報、および内部例外を使用してインスタンスを構築します。 |
メソッドの概要
修飾子と型 | メソッドと説明 |
---|---|
Table |
generateTableServiceException(RequestResult res, TableOperation op, InputStream inStream, TablePayloadFormat format)
内部使用のために予約されています。 指定したパラメーターを使用してインスタンスを TableServiceException 作成する静的ファクトリ メソッド。 |
Table |
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:
int
原因となったテーブル操作によって返される HTTP 状態コードの値。
String
例外の原因となったエラーの説明。
Java.IO.Stream
テーブル操作によって返される HTTP 要求結果の派生ストリーム リーダー (存在する場合)。
TableServiceException
public TableServiceException(final String errorCode, final String message, final int statusCode, final StorageExtendedErrorInformation extendedErrorInfo, final Exception innerException)
指定したエラー コード、メッセージ、状態コード、拡張エラー情報、および内部例外を使用してインスタンスを構築します。
Parameters:
String
テーブル操作によって返されるエラー コードを表す 。
String
テーブル操作によって返されるエラー メッセージを表す 。
int
テーブル操作によって返される HTTP 状態コードを表す 。
Exception
例外への参照を表す オブジェクト (存在する場合)。
メソッドの詳細
generateTableServiceException
protected static TableServiceException generateTableServiceException(RequestResult res, TableOperation op, InputStream inStream, TablePayloadFormat format)
内部使用のために予約されています。 指定したパラメーターを使用してインスタンスを TableServiceException 作成する静的ファクトリ メソッド。
Parameters:
java.io.InputStream
テーブル操作要求からのエラー応答の 。
Returns:
getOperation
public TableOperation getOperation()
がスローされる原因となったテーブル操作を取得します。
Returns:
setOperation
protected void setOperation(final TableOperation operation)
内部使用のために予約されています。 がスローされる原因となったテーブル操作を設定します。
Parameters:
適用対象
Azure SDK for Java