#include <exception.hh>
Classes | |
struct | ExceptionTag |
Public Member Functions | |
Exception () throw () | |
virtual | ~Exception () throw () |
const char * | what () const throw () |
void | SetLocation (const char *file, unsigned int line, const char *func, const char *child_name, const char *condition) |
Friends | |
template<class Except , class Data > | |
Except::template ExceptionTag < Except & >::Identity | operator<< (Except &e, const Data &data) |
Definition at line 18 of file exception.hh.
util::Exception::Exception | ( | ) | throw () |
Definition at line 17 of file exception.cc.
util::Exception::~Exception | ( | ) | throw () [virtual] |
Definition at line 18 of file exception.cc.
void util::Exception::SetLocation | ( | const char * | file, | |
unsigned int | line, | |||
const char * | func, | |||
const char * | child_name, | |||
const char * | condition | |||
) |
Definition at line 20 of file exception.cc.
References util::StringStream::swap().
const char* util::Exception::what | ( | ) | const throw () [inline] |
Definition at line 23 of file exception.hh.
References util::StringStream::str().
Referenced by main(), lm::builder::Pipeline(), lm::builder::CorpusCount::Run(), and util::scoped_mmap::~scoped_mmap().
Except::template ExceptionTag<Except&>::Identity operator<< | ( | Except & | e, | |
const Data & | data | |||
) | [friend] |