KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > security > auth > login > CredentialNotFoundException


1 /*
2  * @(#)CredentialNotFoundException.java 1.2 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.security.auth.login;
9
10 /**
11  * Signals that a credential was not found.
12  *
13  * <p> This exception may be thrown by a LoginModule if it is unable
14  * to locate a credential necessary to perform authentication.
15  *
16  * @version 1.2, 12/19/03
17  * @since 1.5
18  */

19 public class CredentialNotFoundException extends CredentialException JavaDoc {
20
21     private static final long serialVersionUID = -7779934467214319475L;
22
23     /**
24      * Constructs a CredentialNotFoundException with no detail message.
25      * A detail message is a String that describes this particular exception.
26      */

27     public CredentialNotFoundException() {
28     super();
29     }
30
31     /**
32      * Constructs a CredentialNotFoundException with the specified
33      * detail message. A detail message is a String that describes
34      * this particular exception.
35      *
36      * <p>
37      *
38      * @param msg the detail message.
39      */

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