|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.enterprise.context.ContextException
javax.enterprise.context.BusyConversationException
public class BusyConversationException
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.
Context.get(Contextual, CreationalContext)
,
Context.get(Contextual)
,
Serialized FormConstructor Summary | |
---|---|
BusyConversationException()
|
|
BusyConversationException(String message)
Creates a new exception with message. |
|
BusyConversationException(String message,
Throwable cause)
Creates a new exception with the given message and throwable cause. |
|
BusyConversationException(Throwable cause)
Create a new exception with the root cause. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 |
---|
public BusyConversationException()
public BusyConversationException(String message)
message
- messagepublic BusyConversationException(Throwable cause)
cause
- cause of the exceptionpublic BusyConversationException(String message, Throwable cause)
message
- exception messagecause
- root cause of the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |