001package edu.pdx.cs410J.family;
002
003/**
004 * This exception is thrown when something is wrong with a family tree
005 * or a data source from which a family tree is read.
006 */
007@SuppressWarnings("serial")
008public class FamilyTreeException extends RuntimeException {
009
010  ///////////////////////  Constructors  ///////////////////////
011
012  /**
013   * Creates a new <Code>FamilyTreeException</code> with the given
014   * message.
015   */
016  public FamilyTreeException(String message) {
017    super(message);
018  }
019
020  /**
021   * Creates a new <code>FamilyTreeException</code> that wraps another
022   * exception.
023   */
024  public FamilyTreeException(String message, Throwable nested) {
025    super(message, nested);
026  }
027
028}