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 classRetryableWorkRejectedExceptionA subclass of theWorkRejectedExceptionthat indicates that the the service unavailability is transient.classWorkCompletedExceptionThis exception is thrown by aWorkManagerto indicate that a submittedWorkinstance has completed with an exception.classWorkRejectedExceptionThis exception is thrown by aWorkManagerto indicate that a submittedWorkinstance has been rejected.Methods in jakarta.resource.spi.work that return WorkException Modifier and Type Method Description WorkExceptionWorkEvent. getException()Return theWorkException.Methods in jakarta.resource.spi.work that throw WorkException Modifier and Type Method Description voidWorkManager. doWork(Work work)Accepts 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.longWorkManager. startWork(Work work)Accepts 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 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.
-