Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 编程语言 > Java > javax.ejb.ObjectNotFoundException翻译
【标  题】:javax.ejb.ObjectNotFoundException翻译
【关键字】:javax.ejb.ObjectNotFoundException
【来  源】:http://blog.csdn.net/wocongdongfanglai/archive/2005/11/18/532161.aspx

javax.ejb.ObjectNotFoundException翻译

Your Ad Here  
JavaTM 2 Platform
Ent. Ed. v1.4

javax.ejb
Class ObjectNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.ejb.FinderException
              extended byjavax.ejb.ObjectNotFoundException
All Implemented Interfaces:
Serializable

public class ObjectNotFoundException
extends FinderException

The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist. ObjectNotFoundException异常由finder方法抛出,表示指定的EJB对象不存在。

Only the finder methods that are declared to return a single EJB object use this exception. This exception should not be thrown by finder methods that return a collection of EJB objects (they should return an empty collection instead). 只有当finder方法声明返回单个EJB对象时才使用该异常。如果finder方法 返回EJB对象的集合,则不会抛出该异常,而是返回一个空的集合。

See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException()
          Constructs an ObjectNotFoundException with no detail message. 构建一个不含详细信息的ObjectNotFoundException。
ObjectNotFoundException(String message)
          Constructs an ObjectNotFoundException with the specified detail message. 构建一个指定详细信息的ObjectNotFoundException。
 
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

ObjectNotFoundException

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


ObjectNotFoundException

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


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

J2ME中使用pauseApp控制手机临时退出JAVA程序:【上一篇】
我最喜欢和关心的开源项目:【下一篇】
【相关文章】
没有相关文章
【随机文章】
  • 一个非常简洁的验证码程序
  • ORACLE学习笔记6--控制文件
  • 有效的破解图片防盗链
  • VB中注册控件三法
  • Corel TEXTURE探密(二)
  • 通过时间校验学习JavaScript正则表达式
  • 基于网络处理器IXP1200的以太网上联卡设计
  • Linux下PCI设备驱动程序开发基本框架
  • 12.3.3.21 Invocation expressions and object creation expressions
  • Windows 到 Linux 之旅: 第 5 部分. Linux 日志
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.