-
public final class AddressType.Invalid extends AddressType
An instance of AddressType corresponding to an invalid address.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringreasonprivate final BooleanisNotValid
-
Constructor Summary
Constructors Constructor Description AddressType.Invalid(String reason)
-
Method Summary
Modifier and Type Method Description final StringgetReason()final BooleangetIsNotValid()-
-
Constructor Detail
-
AddressType.Invalid
AddressType.Invalid(String reason)
- Parameters:
reason- a description of why the address was invalid.
-
-
Method Detail
-
getIsNotValid
final Boolean getIsNotValid()
-
-
-
-