neo4j-java-driver 1.7.0-java → 1.7.1-java
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dfc028b9d5569edcb8b490d9f748211ab389b0cca5ff41dd6adb087bf5b9cc2
|
4
|
+
data.tar.gz: c4674df8e08709b345664788bcbaf7c5c580fe2dadc7ae3c6287548f0a2cde3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e624744ffe0cde45b2bc18f043ecf2e196ee9ec692c13f543f4bc512d17d7af4ac2be239b4e3c885adddeed7af545ff560f6a41f325a609dd44dcf17058c5676
|
7
|
+
data.tar.gz: aa2adb68ead5f0cde84d364dd0e25084921651025b7b77d663b8b86460be295631dfe67f51334553e2df6c8ab0e16e6b132f2eb70dad278cccc77c4421b5bcd6
|
@@ -20,8 +20,13 @@ module Neo4j
|
|
20
20
|
|
21
21
|
def reverse_check
|
22
22
|
yield
|
23
|
-
rescue
|
24
|
-
raise(e.cause ||
|
23
|
+
rescue Neo4j::Driver::Exceptions::ServiceUnavailableException => e
|
24
|
+
raise(e.cause || org.neo4j.driver.v1.exceptions.ServiceUnavailableException.new(e.message))
|
25
|
+
rescue Neo4j::Driver::Exceptions::Neo4jException,
|
26
|
+
Neo4j::Driver::Exceptions::NoSuchRecordException,
|
27
|
+
Neo4j::Driver::Exceptions::UntrustedServerException,
|
28
|
+
Neo4j::Driver::Exceptions::IllegalStateException => e
|
29
|
+
raise(e.cause || e)
|
25
30
|
end
|
26
31
|
end
|
27
32
|
end
|
@@ -26,13 +26,6 @@ module Neo4j
|
|
26
26
|
[code, message, self, suppressed.map(&method(:mapped_exception))]
|
27
27
|
end
|
28
28
|
|
29
|
-
def self.reverse_exception_class(exception)
|
30
|
-
case exception
|
31
|
-
when Neo4j::Driver::Exceptions::ServiceUnavailableException
|
32
|
-
ServiceUnavailableException
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
29
|
private
|
37
30
|
|
38
31
|
def mapped_exception_class(exception)
|
data/lib/neo4j/driver/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-java-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|