passsing a exception