summaryrefslogtreecommitdiff
path: root/src-py/neo4j_util.py
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-10-20 19:31:06 +0200
committerLV-426 <lv-426@taproot.org.il>2014-10-20 19:31:06 +0200
commit957076abcebb5dc898852b6c58733fa0b408b008 (patch)
tree360b09307f20e5ded375d115c3d2c87fee9e5d10 /src-py/neo4j_util.py
parentf821ead8d1697702917817ce916e50f1c9e0cc3c (diff)
Neo4JException
Diffstat (limited to 'src-py/neo4j_util.py')
-rw-r--r--src-py/neo4j_util.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src-py/neo4j_util.py b/src-py/neo4j_util.py
index 8d70ced9..5b7cfee7 100644
--- a/src-py/neo4j_util.py
+++ b/src-py/neo4j_util.py
@@ -7,6 +7,13 @@ import urllib2
import model
import string
+class Neo4JException(Exception):
+ def __init__(self, error_set):
+ self.error_set = error_set
+
+ def __str__(self):
+ return 'neo4j error set: ' + str(self.error_set)
+
class DB_row(object):
def __init__(self, data):
self.data = data