- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
- package javax.ejb;
-
- /**
- * The CreateException exception must be included in the throws clauses of
- * all create methods defined in an enterprise Bean's home
- * interface.
- *
- * <p> This exception is used as a standard application-level exception to
- * report a failure to create an entity EJB object.
- */
- public class CreateException extends java.lang.Exception {
-
- /**
- * Constructs a CreateException with no detail message.
- */
- public CreateException() {
- }
-
- /**
- * Constructs a CreateException with the specified
- * detail message.
- */
- public CreateException(String message) {
- super(message);
- }
- }
-