Package com.vaadin.hilla.exception
Class EndpointValidationException.ValidationErrorData
java.lang.Object
com.vaadin.hilla.exception.EndpointValidationException.ValidationErrorData
- Enclosing class:
 EndpointValidationException
A validation error data.
- 
Constructor Summary
ConstructorsConstructorDescriptionValidationErrorData(String message) Creates a validation error data object.ValidationErrorData(String message, String parameterName) Creates a validation error data object.ValidationErrorData(String message, String parameterName, String validatorMessage) Creates a validation error data object. - 
Method Summary
Modifier and TypeMethodDescriptionGets the validation error message.Gets the parameter name that caused the validation error.Gets th validator message. 
- 
Constructor Details
- 
ValidationErrorData
Creates a validation error data object.- Parameters:
 message- validation error message, mandatory (cannot benullor blank)parameterName- invalid parameter name, optional (can benullor blank)validatorMessage- validator message, optional (can benullor blank)
 - 
ValidationErrorData
Creates a validation error data object.- Parameters:
 message- validation error message, mandatory (cannot benullor blank)parameterName- invalid parameter name, optional (can benullor blank)
 - 
ValidationErrorData
Creates a validation error data object.- Parameters:
 message- validation error message, mandatory (cannot benullor blank)
 
 - 
 - 
Method Details
- 
getParameterName
Gets the parameter name that caused the validation error.- Returns:
 - the parameter name, may be 
null 
 - 
getMessage
Gets the validation error message.- Returns:
 - the validation error message
 
 - 
getValidatorMessage
Gets th validator message.- Returns:
 - the validator message
 
 
 -