1. /*
  2. * @(#)InvalidSearchControlsException.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.directory;
  11. import javax.naming.NamingException;
  12. /**
  13. * This exception is thrown when the specification of
  14. * the SearchControls for a search operation is invalid. For example, if the scope is
  15. * set to a value other than OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE,
  16. * this exception is thrown.
  17. * <p>
  18. * Synchronization and serialization issues that apply to NamingException
  19. * apply directly here.
  20. *
  21. * @author Rosanna Lee
  22. * @author Scott Seligman
  23. * @version 1.4 00/02/02
  24. * @since 1.3
  25. */
  26. public class InvalidSearchControlsException extends NamingException {
  27. /**
  28. * Constructs a new instance of InvalidSearchControlsException.
  29. * All fields are set to null.
  30. */
  31. public InvalidSearchControlsException() {
  32. super();
  33. }
  34. /**
  35. * Constructs a new instance of InvalidSearchControlsException
  36. * with an explanation. All other fields set to null.
  37. * @param msg Detail about this exception. Can be null.
  38. * @see java.lang.Throwable#getMessage
  39. */
  40. public InvalidSearchControlsException(String msg) {
  41. super(msg);
  42. }
  43. /**
  44. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  45. */
  46. private static final long serialVersionUID = -5124108943352665777L;
  47. }