1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.ejb;
  6. /**
  7. * The FinderException exception must be included in the throws clause
  8. * of every findMETHOD(...) method of an entity Bean's home interface.
  9. *
  10. * <p> The exception is used as a standard application-level exception to
  11. * report a failure to find the requested EJB object(s).
  12. */
  13. public class FinderException extends java.lang.Exception {
  14. /**
  15. * Constructs an FinderException with no detail message.
  16. */
  17. public FinderException() {
  18. }
  19. /**
  20. * Constructs an FinderException with the specified
  21. * detail message.
  22. */
  23. public FinderException(String message) {
  24. super(message);
  25. }
  26. }