hpp-util 5.2.0
Debugging tools for the HPP project.
|
Main exception class for HPP. More...
#include <hpp/util/exception.hh>
Public Member Functions | |
Exception (const std::string &message, const std::string &file, unsigned line) throw () | |
~Exception () throw () | |
Exception (const Exception &exception) throw () | |
Exception & | operator= (const Exception &exception) throw () |
virtual const char * | what () const throw () |
virtual std::ostream & | print (std::ostream &o) const throw () |
Display the exception on the specified output stream. | |
Main exception class for HPP.
All exceptions thrown in HPP must inherit this class.
hpp::Exception::Exception | ( | const std::string & | message, | |||
const std::string & | file, | |||||
unsigned | line ) | |||||
throw | ( | ) |
hpp::Exception::~Exception | ( | ) | ||||
throw | ( | ) |
|
virtual |
Display the exception on the specified output stream.
o | output stream used for display |