Handles a bit differently the exceptions