lyderslim
2009-06-16 06:41:06 UTC
I use exception blocks in all of my code and I usually log an error in my log table, rollback changes if I need to, pass the error back to the calling program, and notify someone that this did not succeed.
I see Wiki says "Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of exceptions - special conditions that change the normal flow of execution."
What do you think a DBA wants to hear from a prospective developer about error handling? Am I suppose to be closing cursors or wrapping up some sort of memory leaks somehow?