Class ExceptionMetadata


  • public final class ExceptionMetadata
    extends Object
    Metadata needed to unmarshall a modeled exception.
    • Method Detail

      • errorCode

        public String errorCode()
        Returns the error code for the modeled exception.
      • exceptionBuilderSupplier

        public Supplier<SdkPojo> exceptionBuilderSupplier()
        Returns the Supplier to get the builder class for the exception.
      • httpStatusCode

        public Integer httpStatusCode()
        Returns the http status code for the exception. For modeled exceptions, this value is populated from the c2j model.