refatoracao exceptions