java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.enterprise.context.ContextException
jakarta.enterprise.context.NonexistentConversationException
- All Implemented Interfaces:
Serializable
Indicates that the conversation context could not be restored.
If the propagated conversation cannot be restored, the container must associate the request with a new transient conversation
and throw an exception of type NonexistentConversationException
.
CDI Lite implementations are not required to provide support for conversations.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates the exception with no detail message or cause.NonexistentConversationException
(String message) Creates the exception with given detail message.NonexistentConversationException
(String message, Throwable cause) Creates the exception with given detail message and cause.Creates the exception with given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonexistentConversationException
public NonexistentConversationException()Creates the exception with no detail message or cause. -
NonexistentConversationException
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
NonexistentConversationException
Creates the exception with given cause.- Parameters:
cause
- the cause
-
NonexistentConversationException
-