[/url] [url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview
Class
JavaTM 2 Platform
Ent. Ed. v1.4
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
javax.ejb
Class CreateExceptionjava.lang.Object
java.lang.Throwable
java.lang.Exception
javax.ejb.CreateException
All Implemented Interfaces: Serializable Direct Known Subclasses: DuplicateKeyException public class CreateException extends ExceptionThe 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 FormConstructor Summary
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
Constructor Detail
CreateExceptionpublic CreateException()
Constructs a CreateException with no detail message. 构建一个不含详细信息的CreateException。
CreateExceptionpublic CreateException(String message)
Constructs a CreateException with the specified detail message. 构建一个指定详细信息的CreateException。
[/url][url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview
Class
JavaTM 2 Platform
Ent. Ed. v1.4
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.