Re: Try/Catch
- Posted by Shian_Lee Jan 11, 2015
- 5298 views
David,
Index exceptions can be trapped using innovative 'Specifications' technique - which is able to return error codes in a clear, simple and very high-level way.
In most cases testing the unsafe code using if...then is suffice.
'Specifications' may be applied to a whole module, or a single routine - depends on the implementation.
The exception occurs only at the low level implementation of 'Specifications' - at the high level only error codes are returned.
Edit: beside dealing with exceptions in a plug-in module, 'Specifications' dictate the regular and standard program's flow, using a simple and clear if..error_code..then.