Source : InsufficientAccessPrivilegeException.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.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);
  }
}


Up one level.

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