diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
commit | f13d0c824456b91fef2588261cbe52ce24c665ba (patch) | |
tree | 4c24ab4dff0c05840bcea2333ac522d9b956f7cf /moses/TrellisPath.cpp | |
parent | 028edf85501013ea06d575c67b5647f939f1f149 (diff) |
UTIL_THROW_IF -> UTIL_THROW_IF2
Diffstat (limited to 'moses/TrellisPath.cpp')
-rw-r--r-- | moses/TrellisPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TrellisPath.cpp b/moses/TrellisPath.cpp index ea065e54d..ae3d3092c 100644 --- a/moses/TrellisPath.cpp +++ b/moses/TrellisPath.cpp @@ -199,7 +199,7 @@ Phrase TrellisPath::GetSurfacePhrase() const for (size_t i = 0 ; i < outputFactor.size() ; i++) { FactorType factorType = outputFactor[i]; const Factor *factor = targetPhrase.GetFactor(pos, factorType); - UTIL_THROW_IF(factor == NULL, util::Exception, + UTIL_THROW_IF2(factor == NULL, "No factor " << factorType << " at position " << pos); newWord[factorType] = factor; } |