List of usage examples for com.amazonaws.services.s3.model AmazonS3Exception setServiceName
public void setServiceName(String serviceName)
From source file:eu.openg.aws.s3.internal.S3ExceptionBuilder.java
License:Apache License
private static AmazonS3Exception buildException(String message, String errorCode, int statusCode, Map<String, String> additionalDetails) { AmazonS3Exception exception = newException(message, errorCode, statusCode, additionalDetails); exception.setServiceName(S3_SERVICE_DISPLAY_NAME); return exception; }