CppUnit project page | FAQ | CppUnit home page |
#include <Exception.h>
Inheritance diagram for CppUnit::Exception:
Public Methods | |
Exception (std::string message="", long lineNumber=UNKNOWNLINENUMBER, std::string fileName=UNKNOWNFILENAME) | |
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... | |
long | lineNumber () |
The line on which the error occurred. More... | |
std::string | fileName () |
The file in which the error occurred. More... | |
virtual Exception * | clone () const |
virtual bool | isInstanceOf (const Type &type) const |
Static Public Methods | |
Type | type () |
Static Public Attributes | |
const std::string | UNKNOWNFILENAME = "<unknown>" |
const long | UNKNOWNLINENUMBER = -1 |
Private Types | |
typedef std::exception | SuperClass |
Private Attributes | |
std::string | m_message |
long | m_lineNumber |
std::string | m_fileName |
Exception is an exception that serves descriptive strings through its what() method
|
|
|
|
|
Construct the exception.
|
|
Destruct the exception.
|
|
Reimplemented in CppUnit::NotEqualException. |
|
The file in which the error occurred.
|
|
Reimplemented in CppUnit::NotEqualException. |
|
The line on which the error occurred.
|
|
Perform an assignment.
|
|
Reimplemented in CppUnit::NotEqualException. |
|
Return descriptive message.
|
|
|
|
|
|
|
|
|
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |