All Downloads are FREE. Search and download functionalities are using the official Maven repository.

macros.syncclientclass.json.ClientInvokeMethodErrorResponseHandlerCreation.ftl Maven / Gradle / Ivy

Go to download

The AWS SDK for Java - Code Generator module holds the classes and templates required to generate the AWS Java SDK clients for AWS services.

There is a newer version: 1.11.8
Show newest version
<#--
    Glacier has a special JsonErrorResponseHandler to handle a differently named error type field.
    This macro is overridden in the Glacier client.
-->
<#macro content metadata customizationConfig>
   HttpResponseHandler errorResponseHandler =
       protocolFactory.createErrorResponseHandler(
           new JsonErrorResponseMetadata()
           <#if customizationConfig.customErrorCodeFieldName?? >
               .withCustomErrorCodeFieldName("${customizationConfig.customErrorCodeFieldName}")
           
       );





© 2015 - 2025 Weber Informatics LLC | Privacy Policy