Refatorando as excessoes