java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ejb.EJBException
jakarta.ejb.NoSuchEJBException
- All Implemented Interfaces:
Serializable
A NoSuchEJBException is thrown if an attempt is made to invoke a business method on a stateful session or singleton
object that no longer exists.
- Since:
- EJB 3.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a NoSuchEJBException with no detail message.NoSuchEJBException
(String message) Constructs a NoSuchEJBException with the specified detail message.NoSuchEJBException
(String message, Exception ex) Constructs a NoSuchEJBException with the specified detail message and a nested exception. -
Method Summary
Methods inherited from class jakarta.ejb.EJBException
getCausedByException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchEJBException
public NoSuchEJBException()Constructs a NoSuchEJBException with no detail message. -
NoSuchEJBException
-
NoSuchEJBException
-