Handle exception with a 404