## Uses of Class
javax.resource.spi.work.WorkException

- Packages that use WorkException
  Package | Description
  --- | ---
  javax.resource.spi.work | This package contains APIs for the Work Management, Generic Work and Security Work contracts.

- - ### Uses of WorkException in javax.resource.spi.work

    Subclasses of WorkException in javax.resource.spi.work
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RetryableWorkRejectedException` A subclass of the `WorkRejectedException` that indicates that the the service unavailability is transient.
    `class` | `WorkCompletedException` This exception is thrown by a `WorkManager` to indicate that a submitted `Work` instance has completed with an exception.
    `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
    Modifier and Type | Method and Description
    --- | ---
    `WorkException` | WorkEvent.`getException()` Return the `WorkException`.

    Methods in javax.resource.spi.work that throw WorkException
    Modifier and Type | Method and Description
    --- | ---
    `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
    Constructor and Description
    `WorkEvent(java.lang.Object source, int type, Work work, WorkException exc)` Constructor.
    `WorkEvent(java.lang.Object source, int type, Work work, WorkException exc, long startDuration)` Constructor.

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)