Package org.apache.hadoop.fs.s3a
Class AWSServiceIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.fs.s3a.AWSClientIOException
org.apache.hadoop.fs.s3a.AWSServiceIOException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AWSS3IOException
@Public
@Evolving
public class AWSServiceIOException
extends org.apache.hadoop.fs.s3a.AWSClientIOException
A specific exception from AWS operations.
The exception must always be created with an
AwsServiceException.
The attributes of this exception can all be directly accessed.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAWSServiceIOException(String operation, software.amazon.awssdk.awscore.exception.AwsServiceException cause) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.awscore.exception.AwsErrorDetailssoftware.amazon.awssdk.awscore.exception.AwsServiceExceptiongetCause()intMethods inherited from class org.apache.hadoop.fs.s3a.AWSClientIOException
getMessage, getOperation, retryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AWSServiceIOException
public AWSServiceIOException(String operation, software.amazon.awssdk.awscore.exception.AwsServiceException cause) Instantiate.- Parameters:
operation- operation which triggered thiscause- the underlying cause
-
-
Method Details
-
getCause
public software.amazon.awssdk.awscore.exception.AwsServiceException getCause()- Overrides:
getCausein classorg.apache.hadoop.fs.s3a.AWSClientIOException
-
requestId
-
awsErrorDetails
public software.amazon.awssdk.awscore.exception.AwsErrorDetails awsErrorDetails() -
statusCode
public int statusCode() -
extendedRequestId
-