Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'phrase-extract/extract-ghkm/Alignment.cpp')
-rw-r--r--phrase-extract/extract-ghkm/Alignment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/phrase-extract/extract-ghkm/Alignment.cpp b/phrase-extract/extract-ghkm/Alignment.cpp
index 6f946fe5a..ba89a1594 100644
--- a/phrase-extract/extract-ghkm/Alignment.cpp
+++ b/phrase-extract/extract-ghkm/Alignment.cpp
@@ -19,7 +19,7 @@
#include "Alignment.h"
-#include "Exception.h"
+#include "syntax-common/exception.h"
#include <algorithm>
#include <cassert>
@@ -44,7 +44,7 @@ void ReadAlignment(const std::string &s, Alignment &a)
}
int src = std::atoi(s.substr(begin, end-begin).c_str());
if (end+1 == s.size()) {
- throw Exception("Target index missing");
+ throw Syntax::Exception("Target index missing");
}
begin = end+1;