catch (MetadataCompoundValidationException e)
{
for (Iterator xitr = e.getExceptionIterator(); xitr.hasNext();)
{
UncheckedException ux = (UncheckedException)xitr.next();
MetadataValidationException x;
if (ux instanceof MetadataValidationException)
{
x = (MetadataValidationException)ux;
if (x.getResourceName() == null)
{
fixup.setMarker(x);
}
}
else
{
x = new MetadataValidationException(ux);
fixup.setMarker(x);
}
addException(x);
}
}
catch (MetadataValidationException e)
{
if (e.getResourceName() == null)
{
fixup.setMarker(e);
}
addException(e);
}
catch (UncheckedException e)
{
MetadataValidationException x = new MetadataValidationException(e);
fixup.setMarker(x);
addException(x);
}
}