exercise 7 of plsql modified to do rollback in a exception