On Apr 30, 2005, at 5:31 PM, Andre Garzia wrote:

my convention is:
* Use return codes if the error is not a critical one. more like a mistake then an error.
* Use throw if the error is a karma-burning pyrotechinical mayhem from hell.

I suppose if a library only used results you could do this:

   moveRobot robotName, plan
   if critical(the result) then throw "kbpm from hell"

Dar

--
**********************************************
    DSC (Dar Scott Consulting & Dar's Lab)
    http://www.swcp.com/dsc/
    A Sponsor of RevCon West
**********************************************

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to