KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > naming > NoPermissionException


1 /*
2  * @(#)NoPermissionException.java 1.7 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.naming;
9
10 /**
11   * This exception is thrown when attempting to perform an operation
12   * for which the client has no permission. The access control/permission
13   * model is dictated by the directory/naming server.
14   *
15   * <p>
16   * Synchronization and serialization issues that apply to NamingException
17   * apply directly here.
18   *
19   * @author Rosanna Lee
20   * @author Scott Seligman
21   * @version 1.7 03/12/19
22   * @since 1.3
23   */

24
25 public class NoPermissionException extends NamingSecurityException JavaDoc {
26     /**
27      * Constructs a new instance of NoPermissionException using an
28      * explanation. All other fields default to null.
29      *
30      * @param explanation Possibly null additional detail about this exception.
31      */

32     public NoPermissionException(String JavaDoc explanation) {
33     super(explanation);
34     }
35
36     /**
37       * Constructs a new instance of NoPermissionException.
38       * All fields are initialized to null.
39       */

40     public NoPermissionException() {
41     super();
42     }
43     /**
44      * Use serialVersionUID from JNDI 1.1.1 for interoperability
45      */

46     private static final long serialVersionUID = 8395332708699751775L;
47 }
48
Popular Tags