Package jakarta.ejb

Class AccessLocalException

  • All Implemented Interfaces:
    java.io.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 Summary

      Constructors 
      Constructor Description
      AccessLocalException()
      Constructs an AccessLocalException with no detail message.
      AccessLocalException​(java.lang.String message)
      Constructs an AccessLocalException with the specified detail message.
      AccessLocalException​(java.lang.String message, java.lang.Exception ex)
      Constructs an AccessLocalException with the specified detail message and a nested exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AccessLocalException

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

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

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