Fixed ORA-06512 handling and added array of exceptions support