|
||||||||||
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.NonexistentConversationException
public class NonexistentConversationException
If a long running conversation cannot be restored, OWB will assign a fresh conversation and throws this very Exception. The user code is free to catch it and continue his work with this new conversation.
Context.get(Contextual, CreationalContext)
,
Context.get(Contextual)
,
Serialized FormConstructor Summary | |
---|---|
NonexistentConversationException()
|
|
NonexistentConversationException(String message)
Creates a new exception with message. |
|
NonexistentConversationException(String message,
Throwable cause)
Creates a new exception with the given message and throwable cause. |
|
NonexistentConversationException(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 NonexistentConversationException()
public NonexistentConversationException(String message)
message
- messagepublic NonexistentConversationException(Throwable cause)
cause
- cause of the exceptionpublic NonexistentConversationException(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 |