#78 fixed sonar errors

This commit is contained in:
Fabio Formosa
2022-11-19 18:53:13 +01:00
parent 99d87636d2
commit 5cf39b3861
4 changed files with 12 additions and 10 deletions

View File

@@ -28,8 +28,7 @@ public class MisfireTestJob extends AbstractQuartzManagerJob {
log.info("{} woke up!", Thread.currentThread().getName());
} catch (InterruptedException e) {
log.error(e.getMessage(), e);
throw new RuntimeException(e);
throw new IllegalStateException(e);
}
return new LogRecord(LogRecord.LogType.INFO, "Hello!");