Exceptions thrown by failed assertions.
More...
#include <Exception.h>
List of all members.
Public Member Functions
Constructs the exception with the specified message and source location.
Constructs a copy of an exception.
Destructs the exception.
Performs an assignment.
const char *
what () const throw ()
Returns descriptive message.
Location where the error occured.
Set the message.
Clones the exception.
Protected Types
Protected Attributes
Detailed Description
Exceptions thrown by failed assertions.
Exception is an exception that serves descriptive strings through its what() method
Member Typedef Documentation
Constructor & Destructor Documentation
Constructs the exception with the specified message and source location.
- Parameters:
-
message Message associated to the exception.
sourceLine Source location related to the exception.
CPPUNIT_NS_BEGIN Exception::Exception
(
const
Exception &
other
)
Constructs a copy of an exception.
- Parameters:
-
other Exception to copy.
Member Function Documentation
Exception * Exception::clone
(
)
const
[virtual]
Message Exception::message
(
)
const
void Exception::setMessage
(
const
Message &
message
)
Location where the error occured.
const char * Exception::what
(
)
const throw ()
Returns descriptive message.
Member Data Documentation
The documentation for this class was generated from the following files: