Top Description Fields Constructors
jakarta.enterprise.context

public Class ContextException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
jakarta.enterprise.context.ContextNotActiveException, jakarta.enterprise.context.NonexistentConversationException, jakarta.enterprise.context.BusyConversationException

Indicates a problem relating to context management.

Authors
Pete Muir, Shane Bryzak

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ContextException()

Creates the exception with no detail message or cause.

public
ContextException(String
the detail message
message
)

Creates the exception with given detail message.

public
ContextException(Throwable
the cause
cause
)

Creates the exception with given cause.

public
ContextException(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 java.lang.RuntimeException.serialVersionUID.

Constructor Detail

ContextExceptionback to summary
public ContextException()

Creates the exception with no detail message or cause.

ContextExceptionback to summary
public ContextException(String message)

Creates the exception with given detail message.

Parameters
message:String

the detail message

ContextExceptionback to summary
public ContextException(Throwable cause)

Creates the exception with given cause.

Parameters
cause:Throwable

the cause

ContextExceptionback to summary
public ContextException(String message, Throwable cause)

Creates the exception with given detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause