Package jakarta.enterprise.context
Class ContextException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.context.ContextException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BusyConversationException
,ContextNotActiveException
,NonexistentConversationException
public class ContextException extends java.lang.RuntimeException
Indicates a problem relating to context management.
- Author:
- Pete Muir, Shane Bryzak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextException()
Creates the exception with no detail message or cause.ContextException(java.lang.String message)
Creates the exception with given detail message.ContextException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.ContextException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
ContextException
public ContextException()
Creates the exception with no detail message or cause.
-
ContextException
public ContextException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
ContextException
public ContextException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
ContextException
public ContextException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-