[progress Communities] [progress Openedge Abl] Forum Post: Error Handling 101

  • Thread starter Thread starter Jeff Ledbetter
  • Start date Start date
Status
Not open for further replies.
J

Jeff Ledbetter

Guest
Hi. Apparently I do not understand error handling like I thought I did. Why is this error only caught if I have an ROUTINE-LEVEL ON ERROR UNDO, THROW statement in the code? USING PROGRESS.Lang.*. RUN tryIt. PROCEDURE tryIt: RUN doIt. CATCH a AS AppError: MESSAGE a:ReturnValue VIEW-AS ALERT-BOX. END. END. PROCEDURE doIt: UNDO, THROW NEW AppError("Jeff's error!"). END PROCEDURE.

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