|
last update 20 Sep 2009 |
|
#include <cvrException.h>


Public Member Functions | |
| exception (const char *excName="exception") | |
| exception (const std::string &excName) | |
| exception (const exception &other) | |
| virtual | ~exception () throw () |
| virtual const std::string & | name () const |
| virtual const char * | what () const throw () |
| exception & | copy (const exception &other) |
| virtual exception * | clone () const |
| virtual exception * | newInstance () const |
| exception & | operator= (const exception &other) |
Protected Attributes | |
| std::string | exceptionName_ |
| cvr::exception::exception | ( | const char * | excName = "exception" |
) |
Constructor with an optional string.
| excName | name of the exception. These string will be copied and can be accessed with the "what()" method |
| cvr::exception::exception | ( | const std::string & | excName | ) |
Constructor with an optional string.
| excName | name of the exception. These string will be copied and can be accessed with the "what()" method |
| cvr::exception::exception | ( | const exception & | other | ) |
Copy constructor.
| virtual cvr::exception::~exception | ( | ) | throw () [virtual] |
Destructor.
| virtual exception* cvr::exception::clone | ( | ) | const [virtual] |
Clone this object.
Implements cvr::object.
Reimplemented in cvr::allocException, cvr::constReferenceException, and cvr::invalidParametersException.
| virtual const std::string& cvr::exception::name | ( | ) | const [virtual] |
Returns the name of this type.
Implements cvr::object.
Reimplemented in cvr::allocException, cvr::constReferenceException, and cvr::invalidParametersException.
| virtual exception* cvr::exception::newInstance | ( | ) | const [virtual] |
Create new instance of this object.
Implements cvr::object.
Reimplemented in cvr::allocException, cvr::constReferenceException, and cvr::invalidParametersException.
| virtual const char* cvr::exception::what | ( | ) | const throw () [virtual] |
std::string cvr::exception::exceptionName_ [protected] |