Uses of Class
jakarta.resource.spi.work.WorkException
Packages that use WorkException
Package
Description
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.workModifier and TypeClassDescriptionclass
A subclass of theWorkRejectedException
that indicates that the the service unavailability is transient.class
This exception is thrown by aWorkManager
to indicate that a submittedWork
instance has completed with an exception.class
This exception is thrown by aWorkManager
to indicate that a submittedWork
instance has been rejected.Methods in jakarta.resource.spi.work that return WorkExceptionMethods in jakarta.resource.spi.work that throw WorkExceptionModifier and TypeMethodDescriptionvoid
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
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 WorkExceptionModifierConstructorDescriptionWorkEvent
(Object source, int type, Work work, WorkException exc) Constructor.WorkEvent
(Object source, int type, Work work, WorkException exc, long startDuration) Constructor.