|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WorkException | |
|---|---|
| javax.resource.spi.work | |
| Uses of WorkException in javax.resource.spi.work |
|---|
| Subclasses of WorkException in javax.resource.spi.work | |
|---|---|
class |
WorkCompletedException
This exception is thrown by a WorkManager to indicate that a submitted Work instance has completed with an exception. This could be thrown only after the execution of a Work instance has started (that is, after a thread has been allocated for Work execution). |
class |
WorkRejectedException
This exception is thrown by a WorkManager to indicate that a submitted Work instance has been rejected. |
| Methods in javax.resource.spi.work that return WorkException | |
|---|---|
WorkException |
WorkEvent.getException()
Return the WorkException. |
| Methods in javax.resource.spi.work that throw WorkException | |
|---|---|
void |
WorkManager.doWork(Work work)
Accepts a Work instance for processing. |
void |
WorkManager.doWork(Work work,
long startTimeout,
ExecutionContext execContext,
WorkListener workListener)
Accepts a Work instance for processing. |
void |
WorkManager.scheduleWork(Work work)
Accepts a Work instance for processing. |
void |
WorkManager.scheduleWork(Work work,
long startTimeout,
ExecutionContext execContext,
WorkListener workListener)
Accepts a Work instance for processing. |
long |
WorkManager.startWork(Work work)
Accepts a Work instance for processing. |
long |
WorkManager.startWork(Work work,
long startTimeout,
ExecutionContext execContext,
WorkListener workListener)
Accepts a Work instance for processing. |
| Constructors in javax.resource.spi.work with parameters of type WorkException | |
|---|---|
WorkEvent(Object source,
int type,
Work work,
WorkException exc)
|
|
WorkEvent(Object source,
int type,
Work work,
WorkException exc,
long startDuration)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||