public class S3Exception
extends java.lang.Exception
| Constructor and Description |
|---|
S3Exception(java.lang.Exception exception,
java.lang.String resource,
S3ErrorCode errorCode)
Derives a new
S3Exception from an existing exception. |
S3Exception(java.lang.String resource,
S3ErrorCode errorCode)
Constructs a new
S3Exception. |
| Modifier and Type | Method and Description |
|---|---|
S3ErrorCode |
getErrorCode() |
java.lang.String |
getResource() |
public S3Exception(java.lang.String resource,
S3ErrorCode errorCode)
S3Exception.resource - the resource name (bucket or object key)errorCode - the error codepublic S3Exception(java.lang.Exception exception,
java.lang.String resource,
S3ErrorCode errorCode)
S3Exception from an existing exception.exception - the existing exceptionresource - the resource name (bucket or object key)errorCode - the error codepublic S3ErrorCode getErrorCode()
public java.lang.String getResource()
Copyright © 2022. All Rights Reserved.