javax.ejb.CreateException翻译

来源:互联网 发布:晶体管汉化补丁 mac 编辑:程序博客网 时间:2024/05/08 07:08
 Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD

javax.ejb
Class CreateException

java.lang.Object  extended byjava.lang.Throwable      extended byjava.lang.Exception          extended byjavax.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 SummaryCreateException()
          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.ThrowablefillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString  Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 

Constructor Detail

CreateException

public CreateException()
Constructs a CreateException with no detail message. 构建一个不含详细信息的CreateException。


CreateException

public CreateException(String message)
Constructs a CreateException with the specified detail message. 构建一个指定详细信息的CreateException。


Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.