NotEqualException |
The class NotEqualException (see Figure C-8) is a subclass of Exception . A NotEqualException is thrown when an equality assertion fails. Its Type is CppUnit::NotEqualException .
NotEqualException belongs to the namespace CppUnit . It is declared in NotEqualException.h and implemented in NotEqualException.cpp .
class NotEqualException : public Exception
A constructor for NotEqualException . The string arguments expected and actual represent the values that fail the equality test and cause the NotEqualException . The sourceLine and additionalMessage arguments have default empty values.
A copy constructor.
A destructor.
A copy operator.
Returns the actual value.
Returns the additionalMessage .
Returns a copy of the NotEqualException .
Returns the expected value.
Returns TRUE if the NotEqualException is of the given Type . Used for runtime Exception type identification.
Returns CppUnit::NotEqualException .
None.
The actual value for the equality test ( private ).
An assertion failure message ( private ).
The expected value for the equality test ( private ).