However, as others have said, you probably should restructure your code not to need exceptions. I tend to think you want to use state machines, where you have a bunch of variables that say what to do, and check those each time inside of loop. Perhaps reading and really understanding blink without a delay (the time to restart the function is a simple minded state machine) would be a start.