|
Re: Help! Robot Throwing Exceptions
As usual with this problem, you're not planning properly and bracketing your robot with a try-catch structure. Luckily, the official playing arena provides a robust try-catch structure for all robots on the field. I predict that you'll see many fewer uncaught exceptions once you get your robot onto the field.
EDIT:In the mean time, I would suggest applying a more dynamic approach to catching your exceptions. Look around a bit and you should be able to find a good method for catching exceptions in a wide variety of situations.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.
Lone Star Regional Troubleshooter
Last edited by Kevin Sevcik : 09-02-2013 at 22:38.
|