Source : CliffRailwayException.java

CS22120 Group Project - project source listings

Questions and comments on this file can be directed to this classes author: Paul Smith


package cs221.groupk.exceptions;

/**
 * CliffRailwayException is the abstract base class of <B>all</B> exceptions
 * within the Cliff Railway system.
 *
 * <P><I>Code spell-checked - Chris Milner - 5th December 2000.</I><P>
 *
 * @author <A HREF="mailto:[email protected]">Paul Smith</A>
 */
public abstract class CliffRailwayException extends Exception
{
  /**
   * Default Constructor for Exception CliffRailwayException.
   */
  public CliffRailwayException()
  {
    super("An exception has occoured in the Cliff Railway System.");
  }

  /**
   * Overridden constructor for Exception CliffRailwayException, passing a 
   * custom message.
   * @param String msg - message passed to super class.
   */
  public CliffRailwayException(String msg)
  {
    super(msg);
  }
}


Up one level.

Page automatically generated on: 28/12/00 at: 7:58:17 PM.