com.amazonaws.services.s3.model

## クラス AmazonS3Exception

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.amazonaws.AmazonClientException
        - - com.amazonaws.AmazonServiceException
          - - com.amazonaws.services.s3.model.AmazonS3Exception

- すべての実装されたインタフェース:
    java.io.Serializable
  直系の既知のサブクラス:
    MultiObjectDeleteException

      public class AmazonS3Exception
      extends AmazonServiceException

  Provides an extension of the AmazonServiceException for errors reported by Amazon S3 while processing a request. In particular, this class provides access to Amazon S3's extended request ID. This ID is required debugging information in the case the user needs to contact Amazon about an issue where Amazon S3 is incorrectly handling a request.
  関連項目:
    直列化された形式

- - ### ネストされたクラスの概要

    - ### クラスから継承されたネストされたクラス/インタフェース com.amazonaws.AmazonServiceException

      `AmazonServiceException.ErrorType`

  - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `AmazonS3Exception(java.lang.String message)` Constructs a new `AmazonS3Exception` with the specified message.
    `AmazonS3Exception(java.lang.String message, java.lang.Exception cause)` Constructs a new `AmazonS3Exception` with the specified message and root cause.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getExtendedRequestId()` Gets Amazon S3's extended request ID.
    `void` | `setExtendedRequestId(java.lang.String extendedRequestId)` Sets Amazon S3's extended request ID.
    `java.lang.String` | `toString()` Extends the implementation from AmazonServiceException to include additional information on S3's extended request ID.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonServiceException

      `getErrorCode, getErrorType, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCode`

    - ### クラスから継承されたメソッド java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### AmazonS3Exception

          public AmazonS3Exception(java.lang.String message)

      Constructs a new `AmazonS3Exception` with the specified message.
      パラメータ:
        `message` - The error message describing why this exception was thrown.
      関連項目:
        `AmazonS3Exception(String, Exception)`

    - #### AmazonS3Exception

          public AmazonS3Exception(java.lang.String message,
                           java.lang.Exception cause)

      Constructs a new `AmazonS3Exception` with the specified message and root cause.
      パラメータ:
        `message` - The error message describing why this exception was thrown.
        `cause` - The root exception that caused this exception to be thrown.
      関連項目:
        `AmazonS3Exception(String)`

  - ### メソッドの詳細

    - #### getExtendedRequestId

          public java.lang.String getExtendedRequestId()

      Gets Amazon S3's extended request ID. This ID is required debugging information in the case the user needs to contact Amazon about an issue where Amazon S3 is incorrectly handling a request.
      戻り値:
        Amazon S3's extended request ID.
      関連項目:
        `setExtendedRequestId(String)`

    - #### setExtendedRequestId

          public void setExtendedRequestId(java.lang.String extendedRequestId)

      Sets Amazon S3's extended request ID.
      パラメータ:
        `extendedRequestId` - S3's extended request ID.
      関連項目:
        `getExtendedRequestId()`

    - #### toString

          public java.lang.String toString()

      Extends the implementation from AmazonServiceException to include additional information on S3's extended request ID.
      オーバーライド:
        `toString` クラス内 `AmazonServiceException`
      関連項目:
        `Throwable.toString()`