From f03371b0d254b2b467e9d263b348527cf8b88bc3 Mon Sep 17 00:00:00 2001 From: Lanlan Date: Sat, 27 Apr 2019 09:35:13 +0800 Subject: [PATCH] =?UTF-8?q?DEC-7376=20=E5=AE=9A=E6=97=B6=E8=B0=83=E5=BA=A6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=A1=A8=E4=B8=AD=E5=AD=98=E5=9C=A8=E8=84=8F?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=9A=84=E6=97=B6=E5=80=99=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E5=BD=B1=E5=93=8D=E6=95=B4=E4=B8=AAscheduler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java b/fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java index ab378483a..07efbd4c5 100644 --- a/fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java +++ b/fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java @@ -1200,7 +1200,11 @@ public abstract class JobStoreSupport implements JobStore, Constants { } if (job == null) { - job = retrieveJob(conn, newTrigger.getJobKey()); + try { + job = retrieveJob(conn, newTrigger.getJobKey()); + } catch (JobPersistenceException e) { + getLog().error(e.getMessage()); + } } if (job == null) { throw new JobPersistenceException("The job (" @@ -2983,7 +2987,6 @@ public abstract class JobStoreSupport implements JobStore, Constants { } catch (SQLException sqle) { getLog().error("Unable to set trigger state to ERROR.", sqle); } - throw jpe; } if (trigger.getCalendarName() != null) {