@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("BatchDeleteRequestSizeExceeded")) return null; BatchDeleteRequestSizeExceededException e = (BatchDeleteRequestSizeExceededException) super.unmarshall(node); return e; } }
exceptionUnmarshallers.add(new ClusterParameterGroupAlreadyExistsExceptionUnmarshaller()); exceptionUnmarshallers.add(new InsufficientS3BucketPolicyExceptionUnmarshaller()); exceptionUnmarshallers.add(new BatchDeleteRequestSizeExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidS3KeyPrefixExceptionUnmarshaller()); exceptionUnmarshallers.add(new AuthorizationNotFoundExceptionUnmarshaller());
exceptionUnmarshallers.add(new ClusterParameterGroupAlreadyExistsExceptionUnmarshaller()); exceptionUnmarshallers.add(new InsufficientS3BucketPolicyExceptionUnmarshaller()); exceptionUnmarshallers.add(new BatchDeleteRequestSizeExceededExceptionUnmarshaller()); exceptionUnmarshallers.add(new InvalidS3KeyPrefixExceptionUnmarshaller()); exceptionUnmarshallers.add(new AuthorizationNotFoundExceptionUnmarshaller());
@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("BatchDeleteRequestSizeExceeded")) return null; BatchDeleteRequestSizeExceededException e = (BatchDeleteRequestSizeExceededException) super.unmarshall(node); return e; } }