Package javax.enterprise.context
Class NonexistentConversationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.enterprise.context.ContextException
-
- javax.enterprise.context.NonexistentConversationException
-
- All Implemented Interfaces:
java.io.Serializable
public class NonexistentConversationException extends ContextException
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.- Since:
- 1.0 PFD2
- See Also:
Context.get(Contextual, CreationalContext)
,Context.get(Contextual)
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description NonexistentConversationException()
NonexistentConversationException(java.lang.String message)
Creates a new exception with message.NonexistentConversationException(java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the given message and throwable cause.NonexistentConversationException(java.lang.Throwable cause)
Create a new exception with the root cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NonexistentConversationException
public NonexistentConversationException()
-
NonexistentConversationException
public NonexistentConversationException(java.lang.String message)
Creates a new exception with message.- Parameters:
message
- message
-
NonexistentConversationException
public NonexistentConversationException(java.lang.Throwable cause)
Create a new exception with the root cause.- Parameters:
cause
- cause of the exception
-
NonexistentConversationException
public NonexistentConversationException(java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the given message and throwable cause.- Parameters:
message
- exception messagecause
- root cause of the exception
-
-