summaryrefslogtreecommitdiff
path: root/klm/lm/exception.cc
blob: 59a1650dbc7787e4455bc8702a44a80eb1c1e7cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "lm/exception.hh"

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

namespace lm {

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

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

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

} // namespace lm