javax.enterprise.context
Class BusyConversationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.enterprise.context.ContextException
                  extended by javax.enterprise.context.BusyConversationException
All Implemented Interfaces:
java.io.Serializable

public class BusyConversationException
extends ContextException

Indicates that the container has rejected a request because a concurrent request is associated with the same conversation context.

The container ensures that a long-running conversation may be associated with at most one request at a time, by blocking or rejecting concurrent requests. If the container rejects a request, it must associate the request with a new transient conversation and throw an exception of type BusyConversationException from the restore view phase of the JSF lifecycle.

Author:
Pete Muir, Gavin King
See Also:
ConversationScoped, Serialized Form

Constructor Summary
BusyConversationException()
           
BusyConversationException(java.lang.String message)
           
BusyConversationException(java.lang.String message, java.lang.Throwable cause)
           
BusyConversationException(java.lang.Throwable cause)
           
 
Method Summary
 
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

BusyConversationException

public BusyConversationException()

BusyConversationException

public BusyConversationException(java.lang.String message)

BusyConversationException

public BusyConversationException(java.lang.Throwable cause)

BusyConversationException

public BusyConversationException(java.lang.String message,
                                 java.lang.Throwable cause)


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41


Spec-Zone.ru - all specs in one place



free hit counter