Package jakarta.ejb

Class NoSuchEJBException

  • All Implemented Interfaces:
    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 Detail

      • NoSuchEJBException

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

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

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