package cs221.groupk.exceptions.database; import cs221.groupk.exceptions.*; /** * InsufficientAccessPrivilegeException is thrown when an operation is * performed that is not allowed under the current user. It is possible that * the user does has permission to do the action, but has not yet logged in. * * <P><I>Code spell-checked - Chris Milner - 5th December 2000.</I><P> * * @author <A HREF="mailto:[email protected]">Paul Smith</A> */ public class InsufficientAccessPrivilegeException extends CliffRailwayException { /** * Default Constructor for Exception InsufficientAccessPrivilegeException. */ public InsufficientAccessPrivilegeException() { super("Access Privilage Exception. The current user does not have " + "sufficient permissions do preform the requested action."); } /** * Overridden constructor for Exception InsufficientAccessPrivilegeException, * passing a custom message. * @param String msg - message passed to super class. */ public InsufficientAccessPrivilegeException(String msg) { super(msg); } }Page automatically generated on: 28/12/00 at: 7:58:15 PM.