sql exception handler completed