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 TypeClassDescriptionclassA subclass of theWorkRejectedExceptionthat indicates that the the service unavailability is transient.classThis exception is thrown by aWorkManagerto indicate that a submittedWorkinstance has completed with an exception.classThis exception is thrown by aWorkManagerto indicate that a submittedWorkinstance has been rejected.Methods in jakarta.resource.spi.work that return WorkExceptionMethods in jakarta.resource.spi.work that throw WorkExceptionModifier and TypeMethodDescriptionvoidAccepts aWorkinstance for processing.voidWorkManager.doWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) Accepts aWorkinstance for processing.voidWorkManager.scheduleWork(Work work) Accepts aWorkinstance for processing.voidWorkManager.scheduleWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) Accepts aWorkinstance for processing.longAccepts aWorkinstance for processing.longWorkManager.startWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) Accepts aWorkinstance 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.