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
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(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
getCausedByException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
- aString
object.
-
-