View Javadoc

1   /*
2    * AuthorizationDeniedException.java
3    *
4    * Created on January 14, 2005, 9:12 AM
5    */
6   
7   package gov.bnl.gums.admin;
8   
9   /**
10   * Exception class for indicating a denied authorization
11   *
12   * @author Gabriele Carcassi, Jay Packard
13   */
14  public class AuthorizationDeniedException extends RuntimeException {
15      
16      /** 
17       * Creates a new instance of AuthorizationDeniedException
18       */
19      public AuthorizationDeniedException() {
20          super("You are not authorized to perform this function.  Contact your gums administrator if access is needed.");
21      }
22      
23  }