Class SkippedException

java.lang.Object
All Implemented Interfaces:
Serializable

public class SkippedException extends ExecutionException implements Serializable
Exception indicating that the result of a value-producing task cannot be retrieved because the task run was skipped. A task can be skipped if the Trigger.skipRun(jakarta.enterprise.concurrent.LastExecution, java.util.Date) method returns true or if it throws an unchecked exception.

Use the Throwable.getCause() method to determine if an unchecked exception was thrown from the Trigger.

Since:
1.0
See Also: