added exceptions conditions to Endereco.java