private boolean isDelegateCall(SStmIR body) { DelegateSearch search = new DelegateSearch(); if (body != null) { try { body.apply(search); return search.isDelegateCall(); } catch (AnalysisException e) { e.printStackTrace(); log.error("Unexpected error encountered when checking " + "if method is a delegate call: " + e.getMessage()); } } return false; }
} catch (org.overture.codegen.ir.analysis.AnalysisException e) { System.err.println("Error generating Isabelle sources:"); System.err.println(e.getMessage()); System.exit(1);
public StateDesInfo normaliseTargets(List<IRStatus<PIR>> newAst) { TargetNormaliserTrans normaliser = new TargetNormaliserTrans(this); for (IRStatus<PIR> n : newAst) { try { javaGen.getIRGenerator().applyPartialTransformation(n, normaliser); } catch (org.overture.codegen.ir.analysis.AnalysisException e) { log.error("Problem normalising state designators: " + e.getMessage()); e.printStackTrace(); } } return normaliser.getStateDesInfo(); }
+ e.getMessage()); e.printStackTrace();
+ e.getMessage()); e.printStackTrace(); + e.getMessage()); e.printStackTrace();
+ status.getIrNodeName() + ": " + e.getMessage()); log.error("Skipping module.."); e.printStackTrace(); + status.getIrNodeName() + ": " + e.getMessage()); log.error("Skipping class.."); e.printStackTrace(); + status.getIrNodeName() + ": " + e.getMessage()); log.error("Skipping module.."); e.printStackTrace(); + status.getIrNodeName() + ": " + e.getMessage()); log.error("Skipping class.."); e.printStackTrace(); + funcValueInterface.getName() + ": " + e.getMessage()); log.error("Skipping interface.."); e.printStackTrace();