Feature SO_WHAT, bis

0 views
Skip to first unread message

Wadael

unread,
Feb 2, 2010, 6:05:04 PM2/2/10
to WadRobotFramework-public
To modify the default implementation, overload method
reactToUnknownCommand(Command unknownCommand, RobotMessageBundle
bundle,Blip blip, Event event)

Source code is
protected void reactToUnknownCommand(Command unknownCommand,
RobotMessageBundle bundle,Blip blip, Event event) {
Blip errorBlip = blip.createChild();
errorBlip.getDocument().replace("Command '"+
unknownCommand.getInstruction() +"' can not be run : No matching
worker.");
}

The default message is a bit technical, it speaks to devs in test
phase but what if this happens in production.
I might change the text then.


Jérôme

Reply all
Reply to author
Forward
0 new messages