diff options
Diffstat (limited to 'linguistics/src/main/java/com/yahoo/language/detect/DetectionException.java')
-rw-r--r-- | linguistics/src/main/java/com/yahoo/language/detect/DetectionException.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linguistics/src/main/java/com/yahoo/language/detect/DetectionException.java b/linguistics/src/main/java/com/yahoo/language/detect/DetectionException.java new file mode 100644 index 00000000000..c97895387fe --- /dev/null +++ b/linguistics/src/main/java/com/yahoo/language/detect/DetectionException.java @@ -0,0 +1,14 @@ +// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.language.detect; + +/** + * Exception that is thrown when detection fails. + * + * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a> + */ +public final class DetectionException extends RuntimeException { + + public DetectionException(String str) { + super(str); + } +} |