if (verbValidators.containsKey(currentActivity.getVerb().name())
&& objectValidators.containsKey(currentActivity.getBaseObjectType().name()))
{
try
{
ActivityValidator currentVerbVal = verbValidators.get(currentActivity.getVerb().name());
currentVerbVal.validate(currentActivity);
ActivityValidator currentObjectVal = objectValidators.get(currentActivity.getBaseObjectType().name());
currentObjectVal.validate(currentActivity);
}
catch (ValidationException vex)
{
log.error("ActivityValidators failed for this activity.", vex);
for (Entry<String, String> validationError : vex.getErrors().entrySet())