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 CreateException exception must be included in the throws clauses of
  8. * all create methods defined in an enterprise Bean's home
  9. * interface.
  10. *
  11. * <p> This exception is used as a standard application-level exception to
  12. * report a failure to create an entity EJB object.
  13. */
  14. public class CreateException extends java.lang.Exception {
  15. /**
  16. * Constructs a CreateException with no detail message.
  17. */
  18. public CreateException() {
  19. }
  20. /**
  21. * Constructs a CreateException with the specified
  22. * detail message.
  23. */
  24. public CreateException(String message) {
  25. super(message);
  26. }
  27. }