1 /************************************************************************* 2 * * 3 * EJBCA: The OpenSource Certificate Authority * 4 * * 5 * This software is free software; you can redistribute it and/or * 6 * modify it under the terms of the GNU Lesser General Public * 7 * License as published by the Free Software Foundation; either * 8 * version 2.1 of the License, or any later version. * 9 * * 10 * See terms of license at gnu.org. * 11 * * 12 *************************************************************************/ 13 14 /* 15 * AuthorizationDeniedException.java 16 * 17 * Created on den 1 april 2002, 12:37 18 */ 19 20 package org.ejbca.core.model.authorization; 21 22 /** 23 * An exception thrown by the isauthorized method in the EjbcaAthorization bean. 24 * 25 * @author Philip Vendil 26 */ 27 public class AuthorizationDeniedException extends java.lang.Exception { 28 29 /** 30 * Creates a new instance of <code>AuthorizationDeniedException</code> without detail message. 31 */ 32 public AuthorizationDeniedException() { 33 super(); 34 } 35 36 37 /** 38 * Constructs an instance of <code>AuthorizationDeniedException</code> with the specified detail message. 39 * @param msg the detail message. 40 */ 41 public AuthorizationDeniedException(String msg) { 42 super(msg); 43 } 44 } 45