Package jakarta.enterprise.context
Class ContextNotActiveException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.context.ContextException
-
- jakarta.enterprise.context.ContextNotActiveException
-
- All Implemented Interfaces:
java.io.Serializable
public class ContextNotActiveException extends ContextException
Indicates that a context is not active.
- Author:
- Pete Muir, Shane Bryzak, Gavin King
- See Also:
Context
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextNotActiveException()
Creates the exception with no detail message or cause.ContextNotActiveException(java.lang.String message)
Creates the exception with given detail message.ContextNotActiveException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.ContextNotActiveException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
ContextNotActiveException
public ContextNotActiveException()
Creates the exception with no detail message or cause.
-
ContextNotActiveException
public ContextNotActiveException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
ContextNotActiveException
public ContextNotActiveException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
ContextNotActiveException
public ContextNotActiveException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-