[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: PASOE still makes mysterious distinction between RETURN ERROR CH-Error versus UNDO THRO

Status
Not open for further replies.
L

Laura Stern

Guest
That is because RETURN ERROR returns first, then raises error. So it is the CATCH block in the caller that will run. Where us UNDO, THROW raises error right there on that line. So the local CATCH block will catch it. This is explained in the documentation. Just FYI, in version 12, the Error handling book has been rewritten and I believe is now very clear and much more concise on how all of this works and on how the different statements involved in error handling interact. You should read it! :)

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