mockpp::DynamicChainingMockError< R, I > Class Template Reference

Helper class to handle chaining mock errors. More...

Inheritance diagram for mockpp::DynamicChainingMockError< R, I >:
Inheritance graph

List of all members.

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.

Detailed Description

template<typename R, typename I>
class mockpp::DynamicChainingMockError< R, I >

Helper class to handle chaining mock errors.

Definition at line 56 of file DynamicChainingMockError.h.

Constructor & Destructor Documentation

template<typename R , typename I >
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.

Member Function Documentation

template<typename R , typename I >
virtual String mockpp::DynamicChainingMockError< R, I >::getMessage (  )  const [inline, virtual]

Returns the error data.

error string

Reimplemented from mockpp::Exception.

Definition at line 106 of file DynamicChainingMockError.h.

template<typename R , typename I >
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.
The current content of the buffer data

Definition at line 88 of file DynamicChainingMockError.h.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:49:13 2010 for mockpp by  doxygen 1.6.1