From 7390bcf833cda4f13dc5eefc6b5a0c033718e6da Mon Sep 17 00:00:00 2001 From: Boaz Leskes Date: Sun, 23 Aug 2015 18:24:53 +0200 Subject: [PATCH] add FailedToCommitException to registration --- .../main/java/org/elasticsearch/ElasticsearchException.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/ElasticsearchException.java b/core/src/main/java/org/elasticsearch/ElasticsearchException.java index 4f478057fa0..3e54d499db3 100644 --- a/core/src/main/java/org/elasticsearch/ElasticsearchException.java +++ b/core/src/main/java/org/elasticsearch/ElasticsearchException.java @@ -596,7 +596,8 @@ public class ElasticsearchException extends RuntimeException implements ToXConte ResourceNotFoundException.class, IndexNotFoundException.class, ShardNotFoundException.class, - NotSerializableExceptionWrapper.class + NotSerializableExceptionWrapper.class, + org.elasticsearch.discovery.zen.publish.PublishClusterStateAction.FailedToCommitException.class }; Map> mapping = new HashMap<>(exceptions.length); for (Class e : exceptions) {