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(S3ErrorCode errorCode)
Constructs a new
S3Exception. |
S3Exception(java.lang.String resource,
S3ErrorCode errorCode)
Constructs a new
S3Exception. |
S3Exception(java.lang.String message,
java.lang.String resource,
S3ErrorCode errorCode)
Derives a new
S3Exception from an existing exception. |
| Modifier and Type | Method and Description |
|---|---|
S3ErrorCode |
getErrorCode() |
java.lang.String |
getResource() |
void |
setResource(java.lang.String resource) |
public S3Exception(S3ErrorCode errorCode)
S3Exception.errorCode - the error codepublic 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 S3Exception(java.lang.String message,
java.lang.String resource,
S3ErrorCode errorCode)
S3Exception from an existing exception.message - the exception messageresource - the resource name (bucket or object key)errorCode - the error codepublic S3ErrorCode getErrorCode()
public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource - the S3 resource stringCopyright © 2024. All Rights Reserved.