File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
driver/src/main/java/org/neo4j/driver/exceptions Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
package org .neo4j .driver .exceptions ;
18
18
19
+ import org .neo4j .driver .Session ;
20
+
19
21
/**
20
22
* A marker interface for retryable exceptions.
21
23
* <p>
22
- * This indicates whether an operation that resulted in retryable exception is worth retrying.
24
+ * This indicates whether an operation that resulted in retryable exception might be resolved by retrying.
25
+ * <p>
26
+ * <b>Note</b> that some database requests executed via implicit transaction API (like, {@link Session#run(String)}),
27
+ * might not be idempotent irrispective of this marker interface as its main focus is on the error type and not
28
+ * individual database request. An example of such database request is
29
+ * <a href="https://neo4j.com/docs/cypher-manual/current/subqueries/subqueries-in-transactions/">CALL {} IN TRANSACTIONS</a>.
30
+ *
23
31
* @since 5.0
24
32
*/
25
33
public interface RetryableException {}
You can’t perform that action at this time.
0 commit comments