polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [06/14] polygene-java git commit: Making ElasticSearchIndexingException extend from IndexingException
Date Sat, 15 Jul 2017 10:15:49 GMT
Making ElasticSearchIndexingException extend from IndexingException


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/0dac97bf
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/0dac97bf
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/0dac97bf

Branch: refs/heads/develop
Commit: 0dac97bff2b82a34162c53ac9d403f19f066aca1
Parents: 5462924
Author: niclas <niclas@hedhman.org>
Authored: Sun Jul 9 12:41:27 2017 +0800
Committer: niclas <niclas@hedhman.org>
Committed: Sun Jul 9 12:41:27 2017 +0800

----------------------------------------------------------------------
 .../elasticsearch/ElasticSearchIndexingException.java  | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/0dac97bf/extensions/indexing-elasticsearch/src/main/java/org/apache/polygene/index/elasticsearch/ElasticSearchIndexingException.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-elasticsearch/src/main/java/org/apache/polygene/index/elasticsearch/ElasticSearchIndexingException.java
b/extensions/indexing-elasticsearch/src/main/java/org/apache/polygene/index/elasticsearch/ElasticSearchIndexingException.java
index b578c6a..27b6a19 100644
--- a/extensions/indexing-elasticsearch/src/main/java/org/apache/polygene/index/elasticsearch/ElasticSearchIndexingException.java
+++ b/extensions/indexing-elasticsearch/src/main/java/org/apache/polygene/index/elasticsearch/ElasticSearchIndexingException.java
@@ -19,17 +19,18 @@
  */
 package org.apache.polygene.index.elasticsearch;
 
-public class ElasticSearchIndexingException extends RuntimeException
+import org.apache.polygene.api.indexing.IndexingException;
+
+public class ElasticSearchIndexingException extends IndexingException
 {
 
-    public ElasticSearchIndexingException( String string )
+    public ElasticSearchIndexingException( String message )
     {
-        super( string );
+        super( message );
     }
 
-    public ElasticSearchIndexingException( String string, Throwable thrwbl )
+    public ElasticSearchIndexingException( String message, Throwable cause )
     {
-        super( string, thrwbl );
+        super( message, cause );
     }
-
 }


Mime
View raw message