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 1919package org .neo4j .driver .v1 .exceptions ;
2020
2121/**
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+ *
2324 * @since 1.0
2425 */
2526public abstract class Neo4jException extends RuntimeException
Original file line number Diff line number Diff line change 1818 */
1919package org .neo4j .driver .v1 .exceptions ;
2020
21+ import java .util .NoSuchElementException ;
22+
2123/**
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+ *
2228 * @since 1.0
2329 */
24- public class NoSuchRecordException extends ClientException
30+ public class NoSuchRecordException extends NoSuchElementException
2531{
2632 private static final long serialVersionUID = 9091962868264042491L ;
2733
You can’t perform that action at this time.
0 commit comments