NoSuchEntityException (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.ejb Class NoSuchEntityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ejb.EJBException
                  extended by javax.ejb.NoSuchEntityException
所有已实现的接口:
Serializable

public class NoSuchEntityException
extends EJBException

The NoSuchEntityException exception is thrown by an Entity Bean instance to its container to report that the invoked business method or callback method could not be completed because of the underlying entity was removed from the database.

This exception may be thrown by the bean class methods that implement the business methods defined in the bean's component interface; and by the ejbLoad and ejbStore methods.

另请参见:
Serialized Form

构造器摘要
NoSuchEntityException()
          Constructs a NoSuchEntityException with no detail message.
NoSuchEntityException(Exception ex)
          Constructs a NoSuchEntityException that embeds the originally thrown exception.
NoSuchEntityException(String message)
          Constructs a NoSuchEntityException with the specified detailed message.
 
方法摘要
 
类方法继承 javax.ejb.EJBException
getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace
 
类方法继承 java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造器详细信息

NoSuchEntityException

public NoSuchEntityException()
Constructs a NoSuchEntityException with no detail message.


NoSuchEntityException

public NoSuchEntityException(String message)
Constructs a NoSuchEntityException with the specified detailed message.


NoSuchEntityException

public NoSuchEntityException(Exception ex)
Constructs a NoSuchEntityException that embeds the originally thrown exception.


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.