Package jakarta.enterprise.context
Class NonexistentConversationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.context.ContextException
-
- jakarta.enterprise.context.NonexistentConversationException
-
- All Implemented Interfaces:
java.io.Serializable
public class NonexistentConversationException extends ContextException
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.
- Author:
- Pete Muir, Gavin King
- See Also:
ConversationScoped
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonexistentConversationException()
Creates the exception with no detail message or cause.NonexistentConversationException(java.lang.String message)
Creates the exception with given detail message.NonexistentConversationException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.NonexistentConversationException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
NonexistentConversationException
public NonexistentConversationException()
Creates the exception with no detail message or cause.
-
NonexistentConversationException
public NonexistentConversationException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
NonexistentConversationException
public NonexistentConversationException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
NonexistentConversationException
public NonexistentConversationException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-