Package com.thoughtworks.xstream

Examples of com.thoughtworks.xstream.XStreamException


  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();
  }
View Full Code Here


                // 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);
                }
            }
        }
View Full Code Here

                setField(result, "startNodes", startNodes);
                setField(result, "heads", heads);

                return result;
            } catch (IOException e) {
                throw new XStreamException("Failed to read back CpsFlowExecution",e);
            }
        }
View Full Code Here

  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();
  }
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.XStreamException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.