javax.ejb.CreateException Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
package javax.ejb;
/**
* The CreateException exception must be included in the throws clauses of
* all create(...) methods define in an enterprise Bean's remote interface.
* The exception is used as a standard application-level exception
* to report a failure to create an entity EJB object.
*/
public class CreateException extends Exception {
/**
*
*/
private static final long serialVersionUID = 6295951740865457514L;
/**
* Constructs an CreateException with no detail message.
*/
public CreateException()
{
super();
}
/**
* Constructs an CreateException with the specified detail message.
*
* @param message - The detailed message
*/
public CreateException(String message) {
super(message);
}
}