Package alluxio.proxy.s3
Class S3ErrorCode
- java.lang.Object
-
- alluxio.proxy.s3.S3ErrorCode
-
public class S3ErrorCode extends java.lang.ObjectError codes defined in http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html with API version 2006-03-01. Some error codes are customized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS3ErrorCode.NameError code names used inS3ErrorCode.
-
Field Summary
Fields Modifier and Type Field Description static S3ErrorCodeBAD_DIGESTstatic S3ErrorCodeBUCKET_ALREADY_EXISTSstatic S3ErrorCodeBUCKET_NOT_EMPTYstatic S3ErrorCodeINTERNAL_ERRORstatic S3ErrorCodeINVALID_BUCKET_NAMEstatic S3ErrorCodeINVALID_NESTED_BUCKET_NAMEstatic S3ErrorCodeNO_SUCH_BUCKETstatic S3ErrorCodeNO_SUCH_KEYstatic S3ErrorCodeNO_SUCH_UPLOADstatic S3ErrorCodePRECONDITION_FAILED
-
Constructor Summary
Constructors Constructor Description S3ErrorCode(java.lang.String code, java.lang.String description, javax.ws.rs.core.Response.Status status)Constructs a newS3ErrorCode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()java.lang.StringgetDescription()javax.ws.rs.core.Response.StatusgetStatus()
-
-
-
Field Detail
-
BAD_DIGEST
public static final S3ErrorCode BAD_DIGEST
-
BUCKET_ALREADY_EXISTS
public static final S3ErrorCode BUCKET_ALREADY_EXISTS
-
BUCKET_NOT_EMPTY
public static final S3ErrorCode BUCKET_NOT_EMPTY
-
INVALID_BUCKET_NAME
public static final S3ErrorCode INVALID_BUCKET_NAME
-
INTERNAL_ERROR
public static final S3ErrorCode INTERNAL_ERROR
-
NO_SUCH_BUCKET
public static final S3ErrorCode NO_SUCH_BUCKET
-
NO_SUCH_KEY
public static final S3ErrorCode NO_SUCH_KEY
-
NO_SUCH_UPLOAD
public static final S3ErrorCode NO_SUCH_UPLOAD
-
PRECONDITION_FAILED
public static final S3ErrorCode PRECONDITION_FAILED
-
INVALID_NESTED_BUCKET_NAME
public static final S3ErrorCode INVALID_NESTED_BUCKET_NAME
-
-
Constructor Detail
-
S3ErrorCode
public S3ErrorCode(java.lang.String code, java.lang.String description, javax.ws.rs.core.Response.Status status)Constructs a newS3ErrorCode.- Parameters:
code- the error code defined inS3ErrorCode.Namedescription- the error descriptionstatus- the HTTP status code for the error
-
-