public class S3ErrorCode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
S3ErrorCode.Name
Error code names used in
S3ErrorCode . |
Modifier and Type | Field and Description |
---|---|
static S3ErrorCode |
BAD_DIGEST |
static S3ErrorCode |
BUCKET_ALREADY_EXISTS |
static S3ErrorCode |
BUCKET_NOT_EMPTY |
static S3ErrorCode |
INTERNAL_ERROR |
static S3ErrorCode |
INVALID_BUCKET_NAME |
static S3ErrorCode |
INVALID_CONTINUATION_TOKEN |
static S3ErrorCode |
INVALID_NESTED_BUCKET_NAME |
static S3ErrorCode |
NO_SUCH_BUCKET |
static S3ErrorCode |
NO_SUCH_KEY |
static S3ErrorCode |
NO_SUCH_UPLOAD |
static S3ErrorCode |
PRECONDITION_FAILED |
static S3ErrorCode |
UPLOAD_ALREADY_EXISTS |
Constructor and Description |
---|
S3ErrorCode(String code,
String description,
javax.ws.rs.core.Response.Status status)
Constructs a new
S3ErrorCode . |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDescription() |
javax.ws.rs.core.Response.Status |
getStatus() |
public static final S3ErrorCode BAD_DIGEST
public static final S3ErrorCode BUCKET_ALREADY_EXISTS
public static final S3ErrorCode BUCKET_NOT_EMPTY
public static final S3ErrorCode INVALID_BUCKET_NAME
public static final S3ErrorCode INTERNAL_ERROR
public static final S3ErrorCode NO_SUCH_BUCKET
public static final S3ErrorCode NO_SUCH_KEY
public static final S3ErrorCode NO_SUCH_UPLOAD
public static final S3ErrorCode PRECONDITION_FAILED
public static final S3ErrorCode INVALID_CONTINUATION_TOKEN
public static final S3ErrorCode UPLOAD_ALREADY_EXISTS
public static final S3ErrorCode INVALID_NESTED_BUCKET_NAME
public S3ErrorCode(String code, String description, javax.ws.rs.core.Response.Status status)
S3ErrorCode
.code
- the error code defined in S3ErrorCode.Name
description
- the error descriptionstatus
- the HTTP status code for the errorCopyright © 2023. All Rights Reserved.