public interface ErrorHandler<V>
| Modifier and Type | Field and Description | 
|---|---|
static ErrorHandler | 
AUTO_CORRECT
Handler to automatically correct a value used for configuring a node
 when the value is not valid. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
V | 
onError(V invalidValue,
       V nearestValidValue,
       String errorMessage)
Call back in case of a validation error 
 | 
static final ErrorHandler AUTO_CORRECT
V onError(V invalidValue, V nearestValidValue, String errorMessage)
invalidValue - Value that violated a constraintnearestValidValue - Acceptable value for fielderrorMessage - Message describing the validation errorCopyright © 2019. All rights reserved.