Top Description Methods
javax.mvc.binding

public Interface ValidationError

extends ParamError
Imports
javax.validation.ConstraintViolation

Represents a single validation error detected for a parameter. A validation error always corresponds to exactly one ConstraintViolation.

Author
Christian Kaltepoth
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public ConstraintViolation<?>

Returns:

The violation detected for the parameter
getViolation
()

The underlying ConstraintViolation detected for the parameter.

Inherited from javax.mvc.binding.ParamError:
getMessagegetParamName

Method Detail

getViolationback to summary
public ConstraintViolation<?> getViolation()

The underlying ConstraintViolation detected for the parameter.

Returns:ConstraintViolation<?>

The violation detected for the parameter