angel::base_exception Class Reference

#include <angel_exceptions.hpp>

Inheritance diagram for angel::base_exception:

Inheritance graph
[legend]
Collaboration diagram for angel::base_exception:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 base_exception (std::string filename, int linenumber, std::string what)
 Save file name, line number and reason of exception.
void say_reason ()
 Write file name, line number and reason to cerr.
const std::string & what_reason () const
 return file name, line number and reason as string

Protected Attributes

std::string reason


Detailed Description

Definition at line 12 of file angel_exceptions.hpp.


Constructor & Destructor Documentation

angel::base_exception::base_exception ( std::string  filename,
int  linenumber,
std::string  what 
) [inline]

Save file name, line number and reason of exception.

Definition at line 17 of file angel_exceptions.hpp.

References reason.


Member Function Documentation

void angel::base_exception::say_reason (  )  [inline]

Write file name, line number and reason to cerr.

Definition at line 22 of file angel_exceptions.hpp.

References reason.

const std::string& angel::base_exception::what_reason (  )  const [inline]

return file name, line number and reason as string

Definition at line 25 of file angel_exceptions.hpp.

References reason.


Member Data Documentation

std::string angel::base_exception::reason [protected]

Definition at line 14 of file angel_exceptions.hpp.

Referenced by base_exception(), say_reason(), and what_reason().


The documentation for this class was generated from the following file:
Generated on Wed Mar 11 10:34:26 2009 for angel by  doxygen 1.5.3