Save This Page
Home » apache-openwebbeans-1.0.0-incubating-M3-sources » javax.enterprise.context » [javadoc | source]
javax.enterprise.context
public class: BusyConversationException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            javax.enterprise.context.ContextException
               javax.enterprise.context.BusyConversationException

All Implemented Interfaces:
    Serializable

A long running conversation must only be used by one request at the same time! If a parallel long running conversation gets detected, this very Exception will be thrown for the new request and the 2nd request will get a fresh Conversation assigned. The customer application may decide to catch this Exception and continue it's work with the new conversation.
Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public BusyConversationException(String message) 
    Creates a new exception with message.
    Parameters:
    message - message
 public BusyConversationException(Throwable cause) 
    Create a new exception with the root cause.
    Parameters:
    cause - cause of the exception
 public BusyConversationException(String message,
    Throwable cause) 
    Creates a new exception with the given message and throwable cause.
    Parameters:
    message - exception message
    cause - root cause of the exception
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait