<!-- -->
| JavaTM 2 Platform Ent. Ed. v1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes <noscript></noscript> | |||||||||
| SUMMARY:NESTED|FIELD|CONSTR|METHOD | DETAIL:FIELD|CONSTR|METHOD | |||||||||
javax.ejb
Class FinderException
-
All Implemented Interfaces:
- Serializable
-
Direct Known Subclasses:
- ObjectNotFoundException
-
public class FinderException
extends
Exception
The FinderException exception must be included in the throws clause of every findMETHOD(...) method of an entity Bean's home interface. 一个实体Bean的home接口中每一个findMETHOD(...)方法的throws子句必须包含FinderException异常
The exception is used as a standard application-level exception to report a failure to find the requested EJB object(s). 该异常作为一个标准应用级的异常使用,来报告查找请求的EJB对象失败。
-
See Also:
- Serialized Form
<!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- -->
| Constructor Summary | |
FinderException() Constructs an FinderException with no detail message. 构建一个不含详细信息的FinderException。 | |
FinderException(Stringmessage) Constructs an FinderException with the specified detail message. 构建一个指定详细信息的FinderException。 | |
| 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 |
<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- -->
| Constructor Detail |
FinderException
- Constructs an FinderException with no detail message. 构建一个不含详细信息的FinderException。
FinderException
- Constructs an FinderException with the specified detail message. 构建一个指定详细信息的FinderException。
<!-- -->
| JavaTM 2 Platform Ent. Ed. v1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes <noscript></noscript> | |||||||||
| SUMMARY:NESTED|FIELD|CONSTR|METHOD | DETAIL:FIELD|CONSTR|METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
博客介绍了javax.ejb中的FinderException异常,指出实体Bean的home接口中每个findMETHOD(...)方法的throws子句必须包含该异常,它作为标准应用级异常,用于报告查找请求的EJB对象失败。
355

被折叠的 条评论
为什么被折叠?



