Package jakarta.ejb
Class ConcurrentAccessException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- jakarta.ejb.EJBException
- 
- jakarta.ejb.ConcurrentAccessException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Direct Known Subclasses:
- ConcurrentAccessTimeoutException,- IllegalLoopbackException
 
 public class ConcurrentAccessException extends EJBException A ConcurrentAccessException indicates that the client has attempted an invocation on a stateful session bean or singleton bean while another invocation is in progress and such concurrent access is not allowed.- Since:
- EJB 3.1
- See Also:
- AccessTimeout, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ConcurrentAccessException()Constructs an ConcurrentAccessException with no detail message.ConcurrentAccessException(String message)Constructs an ConcurrentAccessException with the specified detailed message.ConcurrentAccessException(String message, Exception ex)Constructs an ConcurrentAccessException with the specified detail message and a nested exception.
 - 
Method Summary- 
Methods inherited from class jakarta.ejb.EJBExceptiongetCausedByException
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ConcurrentAccessExceptionpublic ConcurrentAccessException() Constructs an ConcurrentAccessException with no detail message.
 - 
ConcurrentAccessExceptionpublic ConcurrentAccessException(String message) Constructs an ConcurrentAccessException with the specified detailed message.- Parameters:
- message- a- Stringobject.
 
 
- 
 
-