555657585960616263
private void writeTag(Object root, Method m, HierarchicalStreamWriter writer, MarshallingContext context) { writer.startNode(nameFor(m)); try { context.convertAnother(m.invoke(root)); } catch (Exception e) { throw new XStreamException(e.getMessage(), e); } writer.endNode(); }
142143144145146147148149150
// reference to another FlowNode String id = reader.getValue(); try { return c.loadInner(id).node; } catch (IOException e) { throw new XStreamException("Failed to read FlowNode:id="+id,e); } } }
801802803804805806807808
setField(result, "startNodes", startNodes); setField(result, "heads", heads); return result; } catch (IOException e) { throw new XStreamException("Failed to read back CpsFlowExecution",e); } }
545556575859606162