Added exception handling error 404