@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("ReservedNodeOfferingNotFound")) return null; ReservedNodeOfferingNotFoundException e = (ReservedNodeOfferingNotFoundException) super.unmarshall(node); return e; } }
exceptionUnmarshallers.add(new ClusterSecurityGroupAlreadyExistsExceptionUnmarshaller()); exceptionUnmarshallers.add(new AuthorizationQuotaExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new ReservedNodeOfferingNotFoundExceptionUnmarshaller()); exceptionUnmarshallers.add(new InProgressTableRestoreQuotaExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new AccessToSnapshotDeniedExceptionUnmarshaller());
exceptionUnmarshallers.add(new ClusterSecurityGroupAlreadyExistsExceptionUnmarshaller()); exceptionUnmarshallers.add(new AuthorizationQuotaExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new ReservedNodeOfferingNotFoundExceptionUnmarshaller()); exceptionUnmarshallers.add(new InProgressTableRestoreQuotaExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new AccessToSnapshotDeniedExceptionUnmarshaller());
@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("ReservedNodeOfferingNotFound")) return null; ReservedNodeOfferingNotFoundException e = (ReservedNodeOfferingNotFoundException) super.unmarshall(node); return e; } }