diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-11-21 21:51:01 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-11-21 21:51:01 +0400 |
commit | 819c006253ef358e92fb3b6723bc49bbd42c0147 (patch) | |
tree | 5d0a1027feaa7a3dfbf77ff9606433f8620d6907 /moses/TranslationOptionCollectionConfusionNet.cpp | |
parent | 3c0eaac9a39a1b4395176799c7619ad1e9e95e6c (diff) |
replace CHECK with UTIL_THROW_IF in Moses
Diffstat (limited to 'moses/TranslationOptionCollectionConfusionNet.cpp')
-rw-r--r-- | moses/TranslationOptionCollectionConfusionNet.cpp | 2 |
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(); |