public class AlluxioS3Exception extends AlluxioRuntimeException
Modifier and Type | Method and Description |
---|---|
static AlluxioS3Exception |
from(com.amazonaws.AmazonClientException cause)
Converts an AmazonClientException to a corresponding AlluxioS3Exception.
|
static AlluxioS3Exception |
from(String errorMessage,
com.amazonaws.AmazonClientException cause)
Converts an AmazonClientException with errormessage to a corresponding AlluxioS3Exception.
|
from, from, from, from, getMessage, getStatus, isRetryable, toGrpcStatusException, toGrpcStatusRuntimeException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static AlluxioS3Exception from(com.amazonaws.AmazonClientException cause)
cause
- aws s3 exceptionpublic static AlluxioS3Exception from(String errorMessage, com.amazonaws.AmazonClientException cause)
errorMessage
- error messagecause
- aws s3 exceptionCopyright © 2023. All Rights Reserved.