Package jakarta.ejb

Class NoSuchObjectLocalException

  • All Implemented Interfaces:
    Serializable

    public class NoSuchObjectLocalException
    extends EJBException
    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:
    Serialized Form
    • Constructor Detail

      • NoSuchObjectLocalException

        public NoSuchObjectLocalException()
        Constructs a NoSuchObjectLocalException with no detail message.
      • NoSuchObjectLocalException

        public NoSuchObjectLocalException​(String message)
        Constructs a NoSuchObjectLocalException with the specified detail message.
        Parameters:
        message - a String object.
      • NoSuchObjectLocalException

        public NoSuchObjectLocalException​(String message,
                                          Exception ex)
        Constructs a NoSuchObjectLocalException with the specified detail message and a nested exception.
        Parameters:
        message - a String object.
        ex - a Exception object.