Save This Page
Home » openejb-3.1.2-src » javax » ejb » [javadoc | source]
javax.ejb
public class: NoSuchEntityException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            javax.ejb.EJBException
               javax.ejb.NoSuchEntityException

All Implemented Interfaces:
    Serializable

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.

Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public NoSuchEntityException() 
 public NoSuchEntityException(String message) 
    Constructs a NoSuchEntityException with the specified detailed message.
    Parameters:
    message - - The detailed message.
 public NoSuchEntityException(Exception ex) 
    Constructs a NoSuchEntityException that embeds the originally thrown exception.
    Parameters:
    ex - - The originally thrown exception.
Methods from javax.ejb.EJBException:
getCausedByException
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait