|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
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.WorkRejectedException
public class WorkRejectedException
This is thrown then the work cannot be started. This normally means the Work timed-out and could not be started before the start timeout parameter milliseconds.
Field Summary | |
---|---|
static int |
OTHER
Error code is this when a WAS runtime issue prevented the Work from starting. |
static int |
TIMED_OUT
Error code is this when the Work would have started after the maximum interval specified when the startWork method was called. |
static int |
WORKREQUEST_QUEUE_FULL
Error code is this when the Work was unable to start because a thread was not avialable in the thread pool. |
Constructor Summary | |
---|---|
WorkRejectedException()
|
|
WorkRejectedException(java.lang.String message)
|
|
WorkRejectedException(java.lang.String message,
java.lang.Throwable cause)
|
|
WorkRejectedException(java.lang.Throwable cause)
|
Method Summary | |
---|---|
int |
getErrorCode()
This returns the error code for why the work was rejected. |
java.lang.String |
getMessage()
|
void |
setErrorCode(int errorCode)
|
Methods inherited from class com.ibm.ws.exception.WsException |
---|
getCause, initCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, 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 OTHER
public static final int TIMED_OUT
public static final int WORKREQUEST_QUEUE_FULL
Constructor Detail |
---|
public WorkRejectedException()
public WorkRejectedException(java.lang.String message)
public WorkRejectedException(java.lang.Throwable cause)
public WorkRejectedException(java.lang.String message, java.lang.Throwable cause)
Method Detail |
---|
public void setErrorCode(int errorCode)
public int getErrorCode()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |