summaryrefslogtreecommitdiffstats
path: root/linguistics/src/main/java/com/yahoo/language/process/ProcessingException.java
diff options
context:
space:
mode:
Diffstat (limited to 'linguistics/src/main/java/com/yahoo/language/process/ProcessingException.java')
-rw-r--r--linguistics/src/main/java/com/yahoo/language/process/ProcessingException.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/linguistics/src/main/java/com/yahoo/language/process/ProcessingException.java b/linguistics/src/main/java/com/yahoo/language/process/ProcessingException.java
new file mode 100644
index 00000000000..ce8b455707c
--- /dev/null
+++ b/linguistics/src/main/java/com/yahoo/language/process/ProcessingException.java
@@ -0,0 +1,18 @@
+// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.language.process;
+
+/**
+ * <p>Exception class indicating that a fatal error occured during linguistic processing.</p>
+ *
+ * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen Hult</a>
+ */
+public class ProcessingException extends RuntimeException {
+
+ public ProcessingException(String message) {
+ super(message);
+ }
+
+ public ProcessingException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}