Helper class to handle chaining mock errors. More...
Public Member Functions | |
DynamicChainingMockError (DynamicChainingMock< R, I > *in_dynamicMock, const I &in_invocation, InvocationDispatcher< R, I > *in_dispatcher, const String &in_message) | |
Creates the error object. | |
virtual | ~DynamicChainingMockError () throw () |
Destroys the object. | |
String | writeTo (String &buffer) const |
Appends the description of this object to the buffer. | |
virtual String | getMessage () const |
Returns the error data. |
Helper class to handle chaining mock errors.
Definition at line 56 of file DynamicChainingMockError.h.
mockpp::DynamicChainingMockError< R, I >::DynamicChainingMockError | ( | DynamicChainingMock< R, I > * | in_dynamicMock, | |
const I & | in_invocation, | |||
InvocationDispatcher< R, I > * | in_dispatcher, | |||
const String & | in_message | |||
) | [inline] |
Creates the error object.
in_dynamicMock | the mock object | |
in_invocation | the invocation data | |
in_dispatcher | the according disapatcher | |
in_message | additional error text |
Definition at line 66 of file DynamicChainingMockError.h.
virtual String mockpp::DynamicChainingMockError< R, I >::getMessage | ( | ) | const [inline, virtual] |
Returns the error data.
Reimplemented from mockpp::Exception.
Definition at line 106 of file DynamicChainingMockError.h.
String mockpp::DynamicChainingMockError< R, I >::writeTo | ( | String & | buffer | ) | const [inline] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Definition at line 88 of file DynamicChainingMockError.h.