catch non visited exception