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);
}
}
Page automatically generated on: 28/12/00 at: 7:58:17 PM.