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:
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.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()
Creates the exception with no detail message or cause.BusyConversationException(java.lang.String message)
Creates the exception with given detail message.BusyConversationException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.BusyConversationException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
BusyConversationException
public BusyConversationException()
Creates the exception with no detail message or cause.
-
BusyConversationException
public BusyConversationException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
BusyConversationException
public BusyConversationException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
BusyConversationException
public BusyConversationException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-