Package jakarta.ejb
Class NoSuchObjectLocalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ejb.EJBException
jakarta.ejb.NoSuchObjectLocalException
- All Implemented Interfaces:
Serializable
A NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on a local object (local enterprise
bean object or timer) that no longer exists.
- Since:
- EJB 2.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a NoSuchObjectLocalException with no detail message.NoSuchObjectLocalException
(String message) Constructs a NoSuchObjectLocalException with the specified detail message.NoSuchObjectLocalException
(String message, Exception ex) Constructs a NoSuchObjectLocalException 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
-
NoSuchObjectLocalException
public NoSuchObjectLocalException()Constructs a NoSuchObjectLocalException with no detail message. -
NoSuchObjectLocalException
Constructs a NoSuchObjectLocalException with the specified detail message.- Parameters:
message
- aString
object.
-
NoSuchObjectLocalException
Constructs a NoSuchObjectLocalException with the specified detail message and a nested exception.
-