File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
driver/src/main/java/org/neo4j/driver/v1/exceptions Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 19
19
package org .neo4j .driver .v1 .exceptions ;
20
20
21
21
/**
22
- * This is the base class for all Neo4j exceptions.
22
+ * This is the base class for all exceptions caused as part of communication with the remote Neo4j server.
23
+ *
23
24
* @since 1.0
24
25
*/
25
26
public abstract class Neo4jException extends RuntimeException
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .neo4j .driver .v1 .exceptions ;
20
20
21
+ import java .util .NoSuchElementException ;
22
+
21
23
/**
24
+ * Thrown whenever a client expected to read a record that was not available (i.e. because it wasn't returned by the server).
25
+ *
26
+ * This usually indicates an expectation mismatch between client code and database application logic.
27
+ *
22
28
* @since 1.0
23
29
*/
24
- public class NoSuchRecordException extends ClientException
30
+ public class NoSuchRecordException extends NoSuchElementException
25
31
{
26
32
private static final long serialVersionUID = 9091962868264042491L ;
27
33
You can’t perform that action at this time.
0 commit comments