Package jakarta.ejb
Class AccessLocalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ejb.EJBException
jakarta.ejb.AccessLocalException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an AccessLocalException with no detail message.AccessLocalException(String message) Constructs an AccessLocalException with the specified detail message.AccessLocalException(String message, Exception ex) Constructs an AccessLocalException with the specified detail message and a nested exception. -
Method Summary
Methods inherited from class jakarta.ejb.EJBException
getCausedByExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AccessLocalException
public AccessLocalException()Constructs an AccessLocalException with no detail message. -
AccessLocalException
Constructs an AccessLocalException with the specified detail message.- Parameters:
message- aStringobject.
-
AccessLocalException
Constructs an AccessLocalException with the specified detail message and a nested exception.
-