Class ViaCEPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.com.parg.viacep.ViaCEPException
- All Implemented Interfaces:
Serializable
Classe para registrar uma exceção de CEP
- Author:
- Pablo Alexander da Rocha Gonçalves
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionViaCEPException
(String message, String classe) Gera uma nova exceçãoViaCEPException
(String message, String cep, String classe) Gera uma nova exceção e define o CEP que foi solicitado -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ViaCEPException
-
ViaCEPException
-
-
Method Details
-
setCEP
-
getCEP
-
hasCEP
public boolean hasCEP()Retorna se tem algum CEP- Returns:
- boolean
-
getClasse
-