Package de.fu_berlin.inf.dpp.whiteboard.sxe.exceptions

Examples of de.fu_berlin.inf.dpp.whiteboard.sxe.exceptions.MalformedRecordException


    ISXERecordFactory factory = document.getController().getRecordFactory();

    String parentRid = getString(RecordEntry.PARENT);
    if (parentRid == null) {
      if (!document.isEmpty())
        throw new MalformedRecordException(
            "Received non-root record without parent: "
                + getString(RecordEntry.RID));
    }

    String name = getString(RecordEntry.NAME);
View Full Code Here


  @Override
  public String getTargetRid() {
    String rid = getString(RecordEntry.RID);
    if (rid == null)
      throw new MalformedRecordException(RecordEntry.RID);
    return rid;
  }
View Full Code Here

      throws MissingRecordException {
    String tmp;

    tmp = getString(RecordEntry.TARGET);
    if (tmp == null)
      throw new MalformedRecordException("target rid missing");

    NodeRecord target = document.getRecordById(tmp);
    int version = getInt(RecordEntry.VERSION);

    ElementRecord parent = null;
View Full Code Here

  @Override
  public String getTargetRid() {
    String rid = getString(RecordEntry.TARGET);
    if (rid == null)
      throw new MalformedRecordException(RecordEntry.TARGET);
    return rid;
  }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.whiteboard.sxe.exceptions.MalformedRecordException

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.