Uses of Class
jakarta.resource.spi.work.WorkException
-
Packages that use WorkException Package Description jakarta.resource.spi.work This package contains APIs for the Work Management, Generic and Security Work Context contracts. -
-
Uses of WorkException in jakarta.resource.spi.work
Subclasses of WorkException in jakarta.resource.spi.work Modifier and Type Class Description class
RetryableWorkRejectedException
A subclass of theWorkRejectedException
that indicates that the the service unavailability is transient.class
WorkCompletedException
This exception is thrown by aWorkManager
to indicate that a submittedWork
instance has completed with an exception.class
WorkRejectedException
This exception is thrown by aWorkManager
to indicate that a submittedWork
instance has been rejected.Methods in jakarta.resource.spi.work that return WorkException Modifier and Type Method Description WorkException
WorkEvent. getException()
Return theWorkException
.Methods in jakarta.resource.spi.work that throw WorkException Modifier and Type Method Description void
WorkManager. doWork(Work work)
Accepts aWork
instance for processing.void
WorkManager. doWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)
Accepts aWork
instance for processing.void
WorkManager. scheduleWork(Work work)
Accepts aWork
instance for processing.void
WorkManager. scheduleWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)
Accepts aWork
instance for processing.long
WorkManager. startWork(Work work)
Accepts aWork
instance for processing.long
WorkManager. startWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)
Accepts aWork
instance for processing.Constructors in jakarta.resource.spi.work with parameters of type WorkException Constructor Description WorkEvent(Object source, int type, Work work, WorkException exc)
Constructor.WorkEvent(Object source, int type, Work work, WorkException exc, long startDuration)
Constructor.
-