java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.enterprise.context.ContextException
jakarta.enterprise.context.BusyConversationException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates the exception with no detail message or cause.BusyConversationException
(String message) Creates the exception with given detail message.BusyConversationException
(String message, Throwable cause) Creates the exception with given detail message and cause.Creates the exception with given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BusyConversationException
public BusyConversationException()Creates the exception with no detail message or cause. -
BusyConversationException
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
BusyConversationException
Creates the exception with given cause.- Parameters:
cause
- the cause
-
BusyConversationException
-