Top Description Fields Constructors
jakarta.enterprise.context

public Class ContextNotActiveException

extends ContextException
Class Inheritance
Imports
jakarta.enterprise.context.spi.Context

Indicates that a context is not active.

Authors
Pete Muir, Shane Bryzak, Gavin King
See Also
Context

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ContextNotActiveException()

Creates the exception with no detail message or cause.

public
ContextNotActiveException(String
the detail message
message
)

Creates the exception with given detail message.

public
ContextNotActiveException(Throwable
the cause
cause
)

Creates the exception with given cause.

public
ContextNotActiveException(String
the detail message
message
,
Throwable
the cause
cause
)

Creates the exception with given detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.context.ContextException.serialVersionUID.

Constructor Detail

ContextNotActiveExceptionback to summary
public ContextNotActiveException()

Creates the exception with no detail message or cause.

ContextNotActiveExceptionback to summary
public ContextNotActiveException(String message)

Creates the exception with given detail message.

Parameters
message:String

the detail message

ContextNotActiveExceptionback to summary
public ContextNotActiveException(Throwable cause)

Creates the exception with given cause.

Parameters
cause:Throwable

the cause

ContextNotActiveExceptionback to summary
public ContextNotActiveException(String message, Throwable cause)

Creates the exception with given detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause