O
OctavioOlguin
Guest
Is there somehow that anybody could write a template as an example? /*begin main procedure */ BLOCK-LEVEL ON ERROR UNDO, THROW. run PotentiallyStoppedProc. CATCH e1 AS Progress.Lang.Error : MESSAGE "Stop catched!" VIEW-AS ALERT-BOX. END CATCH. /* end main procedure*/ PROCEDURE PontentiallySoppedProc: run proc\nonexistent.p. END PROCEDURE /*---------------------------*/ The main question that arise here are: the catch e1, should build upon which kind of object? App, Sys, or Error. the PontentiallySoppedProc procedure, should have a catch itself, for the process of stop, besides the fact that perhaps it will have one for the nature of it's operations. In this catch sould RETURN NEW ERROR "....." ?
Continue reading...
Continue reading...