Base for stubs throwing exceptions. More...
Public Member Functions | |
ThrowStubBase (Throwable *in_throwable) | |
Creates the object. | |
ThrowStubBase (ThrowableItem &in_throwable) | |
Creates the object. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. | |
Protected Attributes | |
ThrowableItem | throwable |
internal shared member |
Base for stubs throwing exceptions.
Definition at line 51 of file ThrowStub.h.
mockpp::ThrowStubBase< R >::ThrowStubBase | ( | Throwable * | in_throwable | ) | [inline] |
Creates the object.
in_throwable | pointer to the object to throw |
Definition at line 58 of file ThrowStub.h.
mockpp::ThrowStubBase< R >::ThrowStubBase | ( | ThrowableItem & | in_throwable | ) | [inline] |
Creates the object.
in_throwable | the object to throw |
Definition at line 65 of file ThrowStub.h.
virtual String mockpp::ThrowStubBase< R >::describeTo | ( | String & | buffer | ) | const [inline, virtual] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Implements mockpp::TypelessStub< R >.
Definition at line 73 of file ThrowStub.h.