Validator validator = getValidator(request);
Set<ResteasyConstraintViolation> rcvs = new HashSet<ResteasyConstraintViolation>();
ViolationsContainer<Object> violationsContainer = getViolationsContainer(request, object);
try
{
Set<ConstraintViolation<Object>> cvs = validator.forExecutables().validateReturnValue(object, method, returnValue, groups);
for (Iterator<ConstraintViolation<Object>> it = cvs.iterator(); it.hasNext(); )
{
ConstraintViolation<Object> cv = it.next();
Type ct = util.getConstraintType(cv);
Object o = cv.getInvalidValue();