T
Torben
Guest
Beside the behaviour when called from .Net Open Client. The thing that puzzled me the most when moving from classic to structured error handling, was the difference in when catch block is executed! RETURN ERROR, dont execute CATCH in in procedure where statement is executed, but UNDO, THROW do! RUN p. PROCEDURE p PRIVATE: RETURN ERROR. //UNDO, THROW NEW Progress.Lang.AppError(). CATCH e AS Progress.Lang.AppError: MESSAGE "Internal procedure level catch" VIEW-AS ALERT-BOX. UNDO, THROW e. END CATCH. END PROCEDURE. CATCH e AS Progress.Lang.AppError: MESSAGE "Global procedure level catch" VIEW-AS ALERT-BOX. UNDO, THROW e. END CATCH.
Continue reading...
Continue reading...