summaryrefslogtreecommitdiff
path: root/klm/lm/lm_exception.cc
blob: 473849d110c6e5a124df2a8691652e287889ddfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "lm/lm_exception.hh"

#include<errno.h>
#include<stdio.h>

namespace lm {

ConfigException::ConfigException() throw() {}
ConfigException::~ConfigException() throw() {}

LoadException::LoadException() throw() {}
LoadException::~LoadException() throw() {}

FormatLoadException::FormatLoadException() throw() {}
FormatLoadException::~FormatLoadException() throw() {}

VocabLoadException::VocabLoadException() throw() {}
VocabLoadException::~VocabLoadException() throw() {}

SpecialWordMissingException::SpecialWordMissingException(StringPiece which) throw() {
  *this << "Missing special word " << which;
}
SpecialWordMissingException::~SpecialWordMissingException() throw() {}

} // namespace lm