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/9778ca0f
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/9778ca0f
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/9778ca0f

Branch: refs/heads/develop
Commit: 9778ca0f13c9151591014a8d0facacf8e560ec46
Parents: 58b8174
Author: niclas <[email protected]>
Authored: Sun Jul 9 12:37:44 2017 +0800
Committer: niclas <[email protected]>
Committed: Sun Jul 9 12:37:44 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/9778ca0f/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