You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by ni...@apache.org on 2017/07/15 10:15:46 UTC

[03/14] polygene-java git commit: Added IndexingException, since no organized exception hierarchy exists for that.

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 <ni...@hedhman.org>
Authored: Sun Jul 9 12:37:44 2017 +0800
Committer: niclas <ni...@hedhman.org>
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 );
+    }
+}