/** * Builds an MXML tree. * * @return An {@code IOldMXMLFileNode} that is the root of the MXML tree. */ public IMXMLFileNode build() { fileNode = new MXMLFileNode(); try { fileNode.initialize(this); } catch (Exception e) { // Something went wrong, so log it. ICompilerProblem problem = new UnexpectedExceptionProblem(e); addProblem(problem); } return fileNode; }
/** * Builds an MXML tree. * * @return An {@code IOldMXMLFileNode} that is the root of the MXML tree. */ public IMXMLFileNode build() { fileNode = new MXMLFileNode(); try { fileNode.initialize(this); } catch (Exception e) { // Something went wrong, so log it. ICompilerProblem problem = new UnexpectedExceptionProblem(e); addProblem(problem); } return fileNode; }
if (graph.lastCircularDependencyException != null) problems.add(new UnexpectedExceptionProblem(graph.lastCircularDependencyException));
problems.add(new UnexpectedExceptionProblem(e)); return null;
problems.add(new UnexpectedExceptionProblem(e)); return null;
final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);
final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);
} else final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);
} else final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);
} else final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);
} else final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);
} else final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);
problems.add(new UnexpectedExceptionProblem(e));
doABC.setABCData(emitter.emit()); } catch (Exception e) { reportProblem(new UnexpectedExceptionProblem(e)); return false;
problems.add(new UnexpectedExceptionProblem(e));
doABC.setABCData(emitter.emit()); } catch (Exception e) { reportProblem(new UnexpectedExceptionProblem(e)); return false;
builder.addProblem(new UnexpectedExceptionProblem(e));
builder.addProblem(new UnexpectedExceptionProblem(e));
} else final ICompilerProblem unexpectedExceptionProblem = new UnexpectedExceptionProblem( e); problems.add(unexpectedExceptionProblem);