javax.ejb
Class AccessLocalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ejb.EJBException
javax.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.
- Author:
- Florent Benoit
- See Also:
- EJB 3.1 specification,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AccessLocalException
public AccessLocalException()
- Default constructor : builds an exception with an empty message.
AccessLocalException
public AccessLocalException(String message)
- Build an exception with the given message.
- Parameters:
message - the given message to use.
AccessLocalException
public AccessLocalException(String message,
Exception causedByException)
- Build an exception with the given message and given exception.
- Parameters:
message - the given message to use.causedByException - the cause of this exception.
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.