Backproject
|
This operation's perform method is 66% likely to throw an exception. More...
#include <PurposelyBrokenOperation.h>
Public Member Functions | |
bool | IsPossible (const Context &context) const |
Indicates whether the operation can be performed given the current state of affairs. More... | |
std::string | getDescription () const |
Gives a short (infinitive verb) indication of what the operation does. More... | |
std::string | Perform (Context &context) const |
33% of time, this method works every time. More... | |
This operation's perform method is 66% likely to throw an exception.
|
virtual |
Gives a short (infinitive verb) indication of what the operation does.
Implements ContextOperation.
|
virtual |
Indicates whether the operation can be performed given the current state of affairs.
context | the context for which the operation may be runnable |
Implements ContextOperation.
|
virtual |
33% of time, this method works every time.
In 66% of times, it throws an exception.
context |
Implements ContextOperation.