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.
|
toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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
returned
public String getAwsErrorMessage()
public int getStatusCode()
Copyright © 2021. All rights reserved.