ManagedExecutorService
and related interfaces.@Deprecated public class WorkContextException extends WorkException
javax.enterprise.concurrent.ManagedExecutorService
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
BAD_POP
Deprecated.
|
static int |
BAD_PUSH
Deprecated.
|
Constructor and Description |
---|
WorkContextException()
Deprecated.
Default Constructor
|
WorkContextException(java.lang.String message)
Deprecated.
Constructor with message.
|
WorkContextException(java.lang.String serv,
int typ)
Deprecated.
This constructs the exception.
|
WorkContextException(java.lang.String serv,
int typ,
java.lang.Throwable cause)
Deprecated.
This constructs the exception.
|
WorkContextException(java.lang.String message,
java.lang.Throwable cause)
Deprecated.
Constructor with message and cause
|
WorkContextException(java.lang.Throwable cause)
Deprecated.
Constructor with the cause
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getService()
Deprecated.
This returns the name of the service causing the problem.
|
int |
getType()
Deprecated.
This returns whether the problem was pushing or popping
the service.
|
public static final int BAD_PUSH
public static final int BAD_POP
public WorkContextException()
public WorkContextException(java.lang.String message)
message
- public WorkContextException(java.lang.Throwable cause)
cause
- public WorkContextException(java.lang.String message, java.lang.Throwable cause)
message
- cause
- public WorkContextException(java.lang.String serv, int typ)
serv
- The service with the problem.typ
- BAD_PUSH or BAD_POPpublic WorkContextException(java.lang.String serv, int typ, java.lang.Throwable cause)
serv
- The service with the problem.typ
- BAD_PUSH or BAD_POPcause
- the cause of the exception