bad exception handling code for a test