Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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()
        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 message
        cause - the cause