CppUnit project page | FAQ | CppUnit home page |
#include <Exception.h>
Inheritance diagram for CppUnit::Exception:
Public Methods | |
Exception (std::string message="", SourceLine sourceLine=SourceLine()) | |
Exception (const Exception &other) | |
Construct the exception. More... | |
virtual | ~Exception () throw () |
Destruct the exception. More... | |
Exception & | operator= (const Exception &other) |
Perform an assignment. More... | |
const char * | what () const throw () |
Return descriptive message. More... | |
SourceLine | sourceLine () const |
Location where the error occured. More... | |
virtual Exception * | clone () const |
virtual bool | isInstanceOf (const Type &type) const |
Static Public Methods | |
Type | type () |
Private Types | |
typedef std::exception | SuperClass |
Private Attributes | |
std::string | m_message |
SourceLine | m_sourceLine |
Exception is an exception that serves descriptive strings through its what() method
|
|
|
|
|
Construct the exception.
|
|
Destruct the exception.
|
|
Reimplemented in CppUnit::NotEqualException. |
|
Reimplemented in CppUnit::NotEqualException. |
|
Perform an assignment.
|
|
Location where the error occured.
|
|
Reimplemented in CppUnit::NotEqualException. |
|
Return descriptive message.
|
|
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |