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

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


   *             if there is no respective NodeRecord
   */
  public NodeRecord getRecordById(String rid) throws MissingRecordException {
    NodeRecord r = newRecords.get(rid);
    if (r == null)
      throw new MissingRecordException(rid);
    return r;
  }
View Full Code Here


  public ElementRecord getElementRecordById(String rid)
      throws MissingRecordException {
    try {
      return (ElementRecord) getRecordById(rid);
    } catch (ClassCastException e) {
      throw new MissingRecordException(rid,
          "rid does not correspond to ElementRecord");
    }
  }
View Full Code Here

TOP

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

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.