remove unused exception handling code.