util::Exception Class Reference

#include <exception.hh>

Inheritance diagram for util::Exception:

Inheritance graph
[legend]
Collaboration diagram for util::Exception:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Definition at line 18 of file exception.hh.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

template<class Except , class Data >
Except::template ExceptionTag<Except&>::Identity operator<< ( Except &  e,
const Data &  data 
) [friend]


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:34:49 2017 for Moses by  doxygen 1.5.9