Package jakarta.enterprise.context
Class BusyConversationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.context.ContextException
-
- jakarta.enterprise.context.BusyConversationException
-
- All Implemented Interfaces:
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.CDI Lite implementations are not required to provide support for conversations.
- Author:
- Pete Muir, Gavin King
- See Also:
ConversationScoped
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BusyConversationException()
BusyConversationException(String message)
BusyConversationException(String message, Throwable cause)
BusyConversationException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-