940103 wrote:Why? What are you going to do with which exception? There need to be valid reasons for code to trap an exception. Exception handlers are exceptions in themselves. Most code units do not need it - as most code units cannot fix the exception and has no reason to react to an exception.
1) I need exception handling / error logging
2) I'd like to return 'more' details to the caller, something likeWrong. This is NOT how error handling works in ANY language.
TYPE io_reply_type IS RECORD
(rcode INTEGER := -1, -- return code
rmsg VARCHAR(2000) := '', -- error message etc