public JsonClientMetadata withBaseServiceExceptionClass(
            Class<? extends RuntimeException> baseServiceExceptionClass) {
        this.baseServiceExceptionClass = baseServiceExceptionClass;
        return this;
    }
Base class is initialized to {@link AmazonServiceException} for backwards compatibility.
aws-java-sdk-core/src/main/java/com/amazonaws/protocol/json/JsonClientMetadata.java