M
Mike Fechner
Guest
When handling specific Progress.Lang.SysErrors currently it's always try and error to know the error message numbers to filter on. If the expected error message numbers would be documented this would make creating rock-solid code much simpler. Other languages/frameworks, such as .NET and Java provide documentation of that kind. DO ON ERROR UNDO, THROW: /* ABL try */ /* do something */ CATCH err AS Progress.Lang.SysError: IF err:GetMessageNumber (1) = 91 THEN DO: /* handle ABL error 91 here */ END. ELSE UNDO, THROW err . /* rethrow all others */ END CATCH. END.
Continue reading...
Continue reading...