Main exception class for HPP.
More...
#include <hpp/util/exception.hh>
|
| | 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.
◆ Exception() [1/2]
| hpp::Exception::Exception | ( | const std::string & | message, |
| | const std::string & | file, |
| | unsigned | line ) |
| throw | ( | ) | | | |
◆ ~Exception()
| hpp::Exception::~Exception | ( | | ) | |
| throw | ( | ) | | | |
◆ Exception() [2/2]
| hpp::Exception::Exception | ( | const Exception & | exception | ) | |
| throw | ( | ) | | | |
◆ operator=()
◆ print()
| std::ostream & hpp::Exception::print | ( | std::ostream & | o | ) | const | | throw | ( | ) | | | |
| virtual |
Display the exception on the specified output stream.
- Parameters
| o | output stream used for display |
- Returns
- output stream
◆ what()
| const char * hpp::Exception::what | ( | | ) | const | | throw | ( | ) | | | |
| virtual |
The documentation for this class was generated from the following files: