Package jakarta.ejb

Class AccessLocalException

  • All Implemented Interfaces:
    Serializable

    public class AccessLocalException
    extends EJBException
    An AccessLocalException is thrown to indicate that the caller does not have permission to call the method. This exception is thrown to local clients.
    Since:
    EJB 2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • AccessLocalException

        public AccessLocalException()
        Constructs an AccessLocalException with no detail message.
      • AccessLocalException

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

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