errors = solveReferences(errors);
errors = validateDescriptors(errors, rootClassDescriptors);
if (!errors.isEmpty())
{
throw new InitMapperException("Mapping descriptors contain errors."
+ getErrorMessage(errors));
}
}
else
{
throw new InitMapperException("No mappings were provided");
}
}