Handled exception properly