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:
authorHieu Hoang <hieuhoang@gmail.com>2013-11-21 21:51:01 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-11-21 21:51:01 +0400
commit819c006253ef358e92fb3b6723bc49bbd42c0147 (patch)
tree5d0a1027feaa7a3dfbf77ff9606433f8620d6907 /moses/TranslationOptionCollectionConfusionNet.cpp
parent3c0eaac9a39a1b4395176799c7619ad1e9e95e6c (diff)
replace CHECK with UTIL_THROW_IF in Moses
Diffstat (limited to 'moses/TranslationOptionCollectionConfusionNet.cpp')
-rw-r--r--moses/TranslationOptionCollectionConfusionNet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationOptionCollectionConfusionNet.cpp b/moses/TranslationOptionCollectionConfusionNet.cpp
index 95a90760d..78ea878f9 100644
--- a/moses/TranslationOptionCollectionConfusionNet.cpp
+++ b/moses/TranslationOptionCollectionConfusionNet.cpp
@@ -23,7 +23,7 @@ TranslationOptionCollectionConfusionNet::TranslationOptionCollectionConfusionNet
: TranslationOptionCollection(input, maxNoTransOptPerCoverage, translationOptionThreshold)
{
const InputFeature *inputFeature = StaticData::Instance().GetInputFeature();
- UTIL_THROW_IF(inputFeature == NULL, util::Exception,
+ UTIL_THROW_IF2(inputFeature == NULL,
"Input feature must be specified");
size_t inputSize = input.GetSize();