javax.ejb
Class ConcurrentAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ejb.EJBException
                  extended by javax.ejb.ConcurrentAccessException
All Implemented Interfaces:
java.io.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 while another invocation is in progress.

See Also:
Serialized Form

Constructor Summary
ConcurrentAccessException()
          Constructs an ConcurrentAccessException with no detail message.
ConcurrentAccessException(java.lang.String message)
          Constructs an ConcurrentAccessException with the specified detailed message.
ConcurrentAccessException(java.lang.String message, java.lang.Exception ex)
          Constructs an ConcurrentAccessException with the specified detail message and a nested exception.
 
Method Summary
 
Methods inherited from class javax.ejb.EJBException
getCausedByException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

ConcurrentAccessException

public ConcurrentAccessException()
Constructs an ConcurrentAccessException with no detail message.


ConcurrentAccessException

public ConcurrentAccessException(java.lang.String message)
Constructs an ConcurrentAccessException with the specified detailed message.

Parameters:
message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

ConcurrentAccessException

public ConcurrentAccessException(java.lang.String message,
                                 java.lang.Exception ex)
Constructs an ConcurrentAccessException with the specified detail message and a nested exception.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
ex - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)