Added IndexingException, since no organized exception hierarchy exists for that.


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

Branch: refs/heads/develop
Commit: 2c3be20118a1f433e9c516a753d8ba93bb32250c
Parents: af87b22
Author: niclas <[email protected]>
Authored: Sun Jul 9 12:37:44 2017 +0800
Committer: Paul Merlin <[email protected]>
Committed: Thu Jul 13 17:13:14 2017 +0200

----------------------------------------------------------------------
 .../polygene/spi/query/IndexingException.java      | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/2c3be201/core/spi/src/main/java/org/apache/polygene/spi/query/IndexingException.java
----------------------------------------------------------------------
diff --git 
a/core/spi/src/main/java/org/apache/polygene/spi/query/IndexingException.java 
b/core/spi/src/main/java/org/apache/polygene/spi/query/IndexingException.java
new file mode 100644
index 0000000..6fc8124
--- /dev/null
+++ 
b/core/spi/src/main/java/org/apache/polygene/spi/query/IndexingException.java
@@ -0,0 +1,17 @@
+package org.apache.polygene.spi.query;
+
+/**
+ * This is the exception for Indexing problems. Subtypes should be created for 
specific problems.
+ *
+ */
+public abstract class IndexingException extends RuntimeException
+{
+    public IndexingException( String message )
+    {
+        super( message );
+    }
+    public IndexingException( String message, Throwable cause )
+    {
+        super( message, cause );
+    }
+}

Reply via email to