[Stackoverflow] [Progress OpenEdge ABL] How to suppress error messages which is coming from other procedure? - PROGRESS 4GL

Status
Not open for further replies.
B

Bharat

Guest
I am using below query to catch errors but I don't want to use these procedures. Instead, I need to suppress the error messages which should not throw during run time.

Code:
DO ON ERROR UNDO, THROW:
   FIND Customer 1000.
END.

CATCH eAnyError AS Progress.Lang.Error:
  MESSAGE
   "Error Number:~t" eAnyError:GetMessageNum(1) "~n"
   "Error Text:~t" eAnyError:GetMessage(1)
   VIEW-AS ALERT-BOX BUTTONS OK TITLE "Error processing in the CATCH for mainprocedure block".
 END CATCH.

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