public interface Validator
| Modifier and Type | Method and Description |
|---|---|
Message |
getMessage()
Returns default message of validator.
|
boolean |
isValid()
Performs validation and returns its result.
|
void |
validate(ErrorCode aErrorCode,
Performs validation and throws exception in case validation did not pass.
|
aErrorCode - Code of custom validation messageaMessage - Text of custom validation messageaParameters - Parameters of custom validation message