aboutsummaryrefslogtreecommitdiffstats
path: root/docproc/src/main/java/com/yahoo/docproc/impl/TransientFailureException.java
diff options
context:
space:
mode:
Diffstat (limited to 'docproc/src/main/java/com/yahoo/docproc/impl/TransientFailureException.java')
-rw-r--r--docproc/src/main/java/com/yahoo/docproc/impl/TransientFailureException.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/docproc/src/main/java/com/yahoo/docproc/impl/TransientFailureException.java b/docproc/src/main/java/com/yahoo/docproc/impl/TransientFailureException.java
new file mode 100644
index 00000000000..b470ba4b806
--- /dev/null
+++ b/docproc/src/main/java/com/yahoo/docproc/impl/TransientFailureException.java
@@ -0,0 +1,16 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.docproc.impl;
+
+/**
+ * Exception to be thrown by a document processor on transient failures.
+ * Caller is welcome to try the call again later.
+ *
+ * @author Einar M R Rosenvinge
+ */
+public class TransientFailureException extends RuntimeException {
+
+ public TransientFailureException(String s) {
+ super(s);
+ }
+
+}