Added missing return statement to exception handler.