public void callPostProcessor() throws Exception { try { Object check = postprocs[fi].postProcess(readcontext, ftopse.getObject()); if(check!=null) { readcontext.getReporter().report("Object replacement only possible in first pass.", "postprocessor error", ftopse, ftopse.getLocation()); } } catch(Exception e) { // e.printStackTrace(); readcontext.getReporter().report("Error during postprocessing: "+e, "postprocessor error", stack, ftopse!=null ? ftopse.getLocation() : readcontext.getLocation()); } } });
readcontext.getReporter().report(e.toString(), "XML error", readcontext, loc);
readcontext.getReporter().report("No handler for element: "+localname, "type info error", readcontext, StaxLocationWrapper.fromLocation(parser.getLocation())); readcontext.getReporter().report("idref not contained: "+idref, "idref error", se, se.getLocation()); readcontext.getReporter().report(e.toString(), "creation error", readcontext, StaxLocationWrapper.fromLocation(parser.getLocation())); readcontext.getReporter().report("No element on stack for attributes", "stack error", se, se.getLocation());
readcontext.getReporter().report("No content mapping for: "+topse.getContent()+" tag="+topse.getTag(), "link error", se, se.getLocation()); readcontext.getReporter().report("Error during postprocessing: "+e, "postprocessor error", topse, topse.getLocation()); readcontext.getReporter().report("No parent object found for: "+SUtil.arrayToString(fullpath), "link error", se, se.getLocation());