javax.ejb
Class CreateException
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.ejb.CreateException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DuplicateKeyException
- public class CreateException
- extends Exception
The CreateException exception must be included in the throws clauses of all create methods defined in an enterprise Bean's home interface. 在企业bean home接口中定义的所有create方法throws子句中必须包含CreateException异常。
This exception is used as a standard application-level exception to report a failure to create an EJB object. 该异常作为一个标准应用级异常使用,来报告创建EJB对象失败。
- See Also:
- Serialized Form
| Constructor Summary | |
CreateException() Constructs a CreateException with no detail message. 构建一个不含详细信息的CreateException。 | |
CreateException(String message) Constructs a CreateException with the specified detail message. 构建一个指定详细信息的CreateException。 | |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
