1. /*
  2. * @(#)NoPermissionException.java 1.4 00/02/02
  3. *
  4. * Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.naming;
  11. /**
  12. * This exception is thrown when attempting to perform an operation
  13. * for which the client has no permission. The access control/permission
  14. * model is dictated by the directory/naming server.
  15. *
  16. * <p>
  17. * Synchronization and serialization issues that apply to NamingException
  18. * apply directly here.
  19. *
  20. * @author Rosanna Lee
  21. * @author Scott Seligman
  22. * @version 1.4 00/02/02
  23. * @since 1.3
  24. */
  25. public class NoPermissionException extends NamingSecurityException {
  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 explanation) {
  33. super(explanation);
  34. }
  35. /**
  36. * Constructs a new instance of NoPermissionException.
  37. * All fields are initialized to null.
  38. */
  39. public NoPermissionException() {
  40. super();
  41. }
  42. /**
  43. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  44. */
  45. private static final long serialVersionUID = 8395332708699751775L;
  46. }