public interface Validatable
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the Validatable, throwing an
IllegalStateException if the current state is
not valid. |
void validate()
IllegalStateException
if the current state is
not valid.java.lang.IllegalStateException
- if the state of the Validatable
is not valid.