[progress Communities] [progress Openedge Abl] Forum Post: Re: Stop Executing Legacy Code

  • Thread starter Thread starter Laura Stern
  • Start date Start date
Status
Not open for further replies.
L

Laura Stern

Guest
Just an FYI in case your last comment was an accurate reflection of your belief: you can use structured error handling ANYWHERE. It doesn't have to be in classes. A thrown error can be caught as an OO object, which you can do in any block, whether it's in a class or not. Or it can be trapped with a NO-ERROR just as before. Though it is true that in your case you'd probably need a "BLOCK-LEVEL ON ERROR UNDO, THROW" in all your procedures and that could cause you even more nightmares without much careful thought. So, I'm not necessarily suggesting it. Just trying to clear up any myths.

Continue reading...
 
Status
Not open for further replies.
Back
Top