1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.mail.search;
  6. import javax.mail.MessagingException;
  7. /**
  8. * The exception thrown when a Search expression could not be handled.
  9. *
  10. * @author John Mani
  11. */
  12. public class SearchException extends MessagingException {
  13. /**
  14. * Constructs a SearchException with no detail message.
  15. */
  16. public SearchException() {
  17. super();
  18. }
  19. /**
  20. * Constructs a SearchException with the specified detail message.
  21. * @param s the detail message
  22. */
  23. public SearchException(String s) {
  24. super(s);
  25. }
  26. }