Changeset 6057

Show
Ignore:
Timestamp:
11/14/11 12:54:09 (6 months ago)
Author:
mtld
Message:

let TargetGenerator? recover from render include XML parsing errors

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pustefix-core/src/main/java/de/schlund/pfixxml/targets/TargetGenerator.java

    r6035 r6057  
    6161import org.xml.sax.helpers.XMLReaderFactory; 
    6262 
    63 import de.schlund.pfixcore.exception.PustefixRuntimeException; 
    6463import de.schlund.pfixcore.util.Meminfo; 
    6564import de.schlund.pfixcore.workflow.SiteMap; 
     
    773772 
    774773    public void visit(Resource resource) { 
    775         IncludePartsInfo info; 
     774        IncludePartsInfo info = null; 
    776775        try { 
    777776            info = includePartsInfo.getIncludePartsInfo(resource); 
    778777        } catch (IncludePartsInfoParsingException e) { 
    779             throw new PustefixRuntimeException("Error while trying to parse include parts " + 
     778            LOG.error("Error while trying to parse include parts " + 
    780779                    "in " + "resource '" + resource.toURI() + "'.", e); 
    781780        }