javax.ejb.CreateException翻译

王朝java/jsp·作者佚名  2006-01-10
宽屏版  字体: |||超大  

[/url] [url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview

Package

Class

Tree

Deprecated

Index

Help

JavaTM 2 Platform

Ent. Ed. v1.4

PREV CLASS NEXT CLASS

FRAMES NO FRAMES All Classes

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

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

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

Package

Class

Tree

Deprecated

Index

Help

JavaTM 2 Platform

Ent. Ed. v1.4

PREV CLASS NEXT CLASS

FRAMES NO FRAMES All Classes

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有