@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidSnsTopic")) return null; InvalidSnsTopicException e = (InvalidSnsTopicException) super.unmarshall(node); e.setTopic(XpathUtils.asString(getErrorPropertyPath("Topic"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidS3Configuration")) return null; InvalidS3ConfigurationException e = (InvalidS3ConfigurationException) super.unmarshall(node); e.setBucket(XpathUtils.asString(getErrorPropertyPath("Bucket"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("RuleDoesNotExist")) return null; RuleDoesNotExistException e = (RuleDoesNotExistException) super.unmarshall(node); e.setName(XpathUtils.asString(getErrorPropertyPath("Name"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidLambdaFunction")) return null; InvalidLambdaFunctionException e = (InvalidLambdaFunctionException) super.unmarshall(node); e.setFunctionArn(XpathUtils.asString(getErrorPropertyPath("FunctionArn"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("ConfigurationSetSendingPausedException")) return null; ConfigurationSetSendingPausedException e = (ConfigurationSetSendingPausedException) super.unmarshall(node); e.setConfigurationSetName(XpathUtils.asString(getErrorPropertyPath("ConfigurationSetName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("CustomVerificationEmailTemplateAlreadyExists")) return null; CustomVerificationEmailTemplateAlreadyExistsException e = (CustomVerificationEmailTemplateAlreadyExistsException) super.unmarshall(node); e.setCustomVerificationEmailTemplateName(XpathUtils.asString(getErrorPropertyPath("CustomVerificationEmailTemplateName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("RuleSetDoesNotExist")) return null; RuleSetDoesNotExistException e = (RuleSetDoesNotExistException) super.unmarshall(node); e.setName(XpathUtils.asString(getErrorPropertyPath("Name"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("BaseException")) return null; BaseException e = (BaseException) super.unmarshall(node); e.setCode(XpathUtils.asString(getErrorPropertyPath("Code"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("FromEmailAddressNotVerified")) return null; FromEmailAddressNotVerifiedException e = (FromEmailAddressNotVerifiedException) super.unmarshall(node); e.setFromEmailAddress(XpathUtils.asString(getErrorPropertyPath("FromEmailAddress"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("AlreadyExists")) return null; AlreadyExistsException e = (AlreadyExistsException) super.unmarshall(node); e.setName(XpathUtils.asString(getErrorPropertyPath("Name"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("TrackingOptionsDoesNotExistException")) return null; TrackingOptionsDoesNotExistException e = (TrackingOptionsDoesNotExistException) super.unmarshall(node); e.setConfigurationSetName(XpathUtils.asString(getErrorPropertyPath("ConfigurationSetName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("MissingRenderingAttribute")) return null; MissingRenderingAttributeException e = (MissingRenderingAttributeException) super.unmarshall(node); e.setTemplateName(XpathUtils.asString(getErrorPropertyPath("TemplateName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("ConfigurationSetDoesNotExist")) return null; ConfigurationSetDoesNotExistException e = (ConfigurationSetDoesNotExistException) super.unmarshall(node); e.setConfigurationSetName(XpathUtils.asString(getErrorPropertyPath("ConfigurationSetName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("ConfigurationSetAlreadyExists")) return null; ConfigurationSetAlreadyExistsException e = (ConfigurationSetAlreadyExistsException) super.unmarshall(node); e.setConfigurationSetName(XpathUtils.asString(getErrorPropertyPath("ConfigurationSetName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("TrackingOptionsAlreadyExistsException")) return null; TrackingOptionsAlreadyExistsException e = (TrackingOptionsAlreadyExistsException) super.unmarshall(node); e.setConfigurationSetName(XpathUtils.asString(getErrorPropertyPath("ConfigurationSetName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("TemplateDoesNotExist")) return null; TemplateDoesNotExistException e = (TemplateDoesNotExistException) super.unmarshall(node); e.setTemplateName(XpathUtils.asString(getErrorPropertyPath("TemplateName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidRenderingParameter")) return null; InvalidRenderingParameterException e = (InvalidRenderingParameterException) super.unmarshall(node); e.setTemplateName(XpathUtils.asString(getErrorPropertyPath("TemplateName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("CustomVerificationEmailTemplateDoesNotExist")) return null; CustomVerificationEmailTemplateDoesNotExistException e = (CustomVerificationEmailTemplateDoesNotExistException) super.unmarshall(node); e.setCustomVerificationEmailTemplateName(XpathUtils.asString(getErrorPropertyPath("CustomVerificationEmailTemplateName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("InvalidTemplate")) return null; InvalidTemplateException e = (InvalidTemplateException) super.unmarshall(node); e.setTemplateName(XpathUtils.asString(getErrorPropertyPath("TemplateName"), node)); return e; } }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("CannotDelete")) return null; CannotDeleteException e = (CannotDeleteException) super.unmarshall(node); e.setName(XpathUtils.asString(getErrorPropertyPath("Name"), node)); return e; } }