KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)AccountNotFoundException.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 an account was not found.
12  *
13  * <p> This exception may be thrown by a LoginModule if it is unable
14  * to locate an account necessary to perform authentication.
15  *
16  * @version 1.2, 12/19/03
17  * @since 1.5
18  */

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

27     public AccountNotFoundException() {
28         super();
29     }
30
31     /**
32      * Constructs a AccountNotFoundException 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 AccountNotFoundException(String JavaDoc msg) {
41         super(msg);
42     }
43 }
44
Popular Tags