Package jakarta.ejb
Class NoSuchEJBException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.ejb.EJBException
-
- jakarta.ejb.NoSuchEJBException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoSuchEJBException extends EJBException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchEJBException()
Constructs a NoSuchEJBException with no detail message.NoSuchEJBException(java.lang.String message)
Constructs a NoSuchEJBException with the specified detail message.NoSuchEJBException(java.lang.String message, java.lang.Exception ex)
Constructs a NoSuchEJBException with the specified detail message and a nested exception.
-
Method Summary
-
Methods inherited from class jakarta.ejb.EJBException
getCausedByException
-
-
-
-
Constructor Detail
-
NoSuchEJBException
public NoSuchEJBException()
Constructs a NoSuchEJBException with no detail message.
-
NoSuchEJBException
public NoSuchEJBException(java.lang.String message)
Constructs a NoSuchEJBException with the specified detail message.- Parameters:
message
- aString
object.
-
NoSuchEJBException
public NoSuchEJBException(java.lang.String message, java.lang.Exception ex)
Constructs a NoSuchEJBException with the specified detail message and a nested exception.- Parameters:
message
- aString
object.ex
- aException
object.
-
-