public class CrtS3RuntimeException extends CrtRuntimeException
errorCode, errorName| Constructor and Description |
|---|
CrtS3RuntimeException(int errorCode,
int responseStatus,
byte[] errorPayload) |
CrtS3RuntimeException(int errorCode,
int responseStatus,
String errorPayload) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAwsErrorCode()
Returns the aws error code from S3 response.
|
String |
getAwsErrorMessage()
Returns the error message from S3 response.
|
int |
getStatusCode()
Returns the status code in S3 response.
|
toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic CrtS3RuntimeException(int errorCode,
int responseStatus,
String errorPayload)
public CrtS3RuntimeException(int errorCode,
int responseStatus,
byte[] errorPayload)
public String getAwsErrorCode()
element in xml
response. element in the response, empty string will be
returnedpublic String getAwsErrorMessage()
public int getStatusCode()
Copyright © 2021. All rights reserved.