@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("VPCAssociationAuthorizationNotFound")) return null; VPCAssociationAuthorizationNotFoundException e = (VPCAssociationAuthorizationNotFoundException) super.unmarshall(node); return e; } }
exceptionUnmarshallers.add(new NoSuchTrafficPolicyInstanceExceptionUnmarshaller()); exceptionUnmarshallers.add(new HostedZoneNotEmptyExceptionUnmarshaller()); exceptionUnmarshallers.add(new VPCAssociationAuthorizationNotFoundExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidDomainNameExceptionUnmarshaller()); exceptionUnmarshallers.add(new TooManyHealthChecksExceptionUnmarshaller());