CppUnit project page | FAQ | CppUnit home page |
#include <Exception.h>
Public Member Functions | |
Exception (const Message &message=Message(), const SourceLine &sourceLine=SourceLine()) | |
Constructs the exception with the specified message and source location. | |
Exception (const Exception &other) | |
Constructs a copy of an exception. | |
virtual | ~Exception () throw () |
Destructs the exception. | |
Exception & | operator= (const Exception &other) |
Performs an assignment. | |
const char * | what () const throw () |
Returns descriptive message. | |
SourceLine | sourceLine () const |
Location where the error occured. | |
Message | message () const |
Message related to the exception. | |
void | setMessage (const Message &message) |
Set the message. | |
virtual Exception * | clone () const |
Clones the exception. | |
Protected Types | |
typedef std::exception | SuperClass |
Protected Attributes | |
Message | m_message |
SourceLine | m_sourceLine |
std::string | m_whatMessage |
Exception is an exception that serves descriptive strings through its what() method
|
|
|
Constructs the exception with the specified message and source location.
|
|
Constructs a copy of an exception.
|
|
Destructs the exception.
|
|
Clones the exception.
|
|
Message related to the exception.
|
|
Performs an assignment.
|
|
Set the message.
|
|
Location where the error occured.
|
|
Returns descriptive message.
|
|
|
|
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |