KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > model > authorization > AuthenticationFailedException


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 authenticate method in the EjbcaAthorization bean when authentication of a given certificate failed.
24  *
25  * @author Philip Vendil
26  */

27 public class AuthenticationFailedException extends java.lang.Exception JavaDoc {
28     
29     /**
30      * Creates a new instance of <code>AuthenticationDeniedException</code> without detail message.
31      */

32     public AuthenticationFailedException() {
33       super();
34     }
35     
36     
37     /**
38      * Constructs an instance of <code>AuthenticationDeniedException</code> with the specified detail message.
39      * @param msg the detail message.
40      */

41     public AuthenticationFailedException(String JavaDoc msg) {
42         super(msg);
43     }
44 }
45
Popular Tags