1058105910601061106210631064
Messages.MISSING_ID.format(obj), new ValidationEventLocatorImpl(obj)) ); } public ValidationEventLocator getCurrentLocation(String fieldName) { return new ValidationEventLocatorExImpl(cycleDetectionStack.peek(),fieldName); }
10241025102610271028102910301031
public boolean handleError(Exception e,Object source,String fieldName) { return handleEvent( new ValidationEventImpl( ValidationEvent.ERROR, e.getMessage(), new ValidationEventLocatorExImpl(source,fieldName), e)); }
1056105710581059106010611062
10061007100810091010101110121013
1038103910401041104210431044
120121122123124125126127128
ValidationEvent.ERROR, // maybe it should be a fatal error. Messages.TYPE_MISMATCH.format( getTypeName(parentObject), fieldName, getTypeName(childObject) ), new ValidationEventLocatorExImpl(parentObject,fieldName) ); serializer.reportError(ve); }
10131014101510161017101810191020
1045104610471048104910501051