public interface ExceptionHandler
Worker.| Modifier and Type | Method and Description |
|---|---|
RecoveryStrategy |
onException(JobExecutor jobExecutor,
Exception exception,
String curQueue)
Called when a worker encounters an exception.
|
RecoveryStrategy onException(JobExecutor jobExecutor, Exception exception, String curQueue)
jobExecutor - the worker that encountered the exceptionexception - the exceptioncurQueue - the current queue being processedRecoveryStrategy to useCopyright © 2011–2019. All rights reserved.