public class NoSuchEntityException extends EJBException
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.
Note: Support for entity beans is optional as of EJB 3.2.
Constructor and Description |
---|
NoSuchEntityException()
Constructs a NoSuchEntityException with no detail message.
|
NoSuchEntityException(java.lang.Exception ex)
Constructs a NoSuchEntityException that embeds the originally thrown exception.
|
NoSuchEntityException(java.lang.String message)
Constructs a NoSuchEntityException with the specified detailed message.
|
getCausedByException
public NoSuchEntityException()
public NoSuchEntityException(java.lang.String message)
message
- a String
object.public NoSuchEntityException(java.lang.Exception ex)
ex
- a Exception
object.