|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.ws.exception.WsException
com.ibm.websphere.asynchbeans.WorkException
com.ibm.websphere.asynchbeans.WorkContextException
This exception is thrown when there is a problem with the J2EE context associated with a Work. If it cannot be recreated or removed from a thread then this is thrown to indicate this.
Field Summary | |
---|---|
static int |
BAD_POP
|
static int |
BAD_PUSH
|
Constructor Summary | |
---|---|
WorkContextException()
Default Constructor |
|
WorkContextException(java.lang.String message)
Constructor with message. |
|
WorkContextException(java.lang.String service,
int type)
This constructs the exception. |
|
WorkContextException(java.lang.String service,
int type,
java.lang.Throwable cause)
This constructs the exception. |
|
WorkContextException(java.lang.String message,
java.lang.Throwable cause)
Constructor with message and cause |
|
WorkContextException(java.lang.Throwable cause)
Constructor with the cause |
Method Summary | |
---|---|
java.lang.String |
getService()
This returns the name of the service causing the problem. |
int |
getType()
This returns whether the problem was pushing or popping the service. |
Methods inherited from class com.ibm.ws.exception.WsException |
---|
getCause, initCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BAD_PUSH
public static final int BAD_POP
Constructor Detail |
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 service, int type)
service
- The service with the problem.type
- BAD_PUSH or BAD_POPpublic WorkContextException(java.lang.String service, int type, java.lang.Throwable cause)
service
- The service with the problem.type
- BAD_PUSH or BAD_POPcause
- the cause of the exceptionMethod Detail |
public java.lang.String getService()
public int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |