{
XmlResourceProcessor processor = new XmlResourceProcessor(getClassResolver(),
new DefaultErrorHandler());
Resource[] missingResources = new Resource[]
{ new FileResource("foo"), new URLResource(new URL("file://MissingFile")) };
Class[] exceptionTypes = new Class[]
{ NullPointerException.class, UnknownHostException.class };
for (int i = 0; i < missingResources.length; i++)
{