new handling of exception in handler