01: /*************************************************************************
02: * *
03: * EJBCA: The OpenSource Certificate Authority *
04: * *
05: * This software is free software; you can redistribute it and/or *
06: * modify it under the terms of the GNU Lesser General Public *
07: * License as published by the Free Software Foundation; either *
08: * version 2.1 of the License, or any later version. *
09: * *
10: * See terms of license at gnu.org. *
11: * *
12: *************************************************************************/package org.ejbca.core.model.authorization;
13:
14: /**
15: * An exception thrown by the isauthorized method in the EjbcaAthorization bean.
16: *
17: * @author Philip Vendil
18: */
19: public class AuthorizationDeniedException extends java.lang.Exception {
20:
21: /**
22: * Creates a new instance of <code>AuthorizationDeniedException</code> without detail message.
23: */
24: public AuthorizationDeniedException() {
25: super ();
26: }
27:
28: /**
29: * Constructs an instance of <code>AuthorizationDeniedException</code> with the specified detail message.
30: * @param msg the detail message.
31: */
32: public AuthorizationDeniedException(String msg) {
33: super(msg);
34: }
35: }
|