Commits

Anonymous committed e138e46

Issue number: QUARTZ-514
Catch all exceptions thrown by a job's execution including those that extend java.lang.Error such as out of memory.

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@63669f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (1)

src/java/org/quartz/core/JobRunShell.java

                 jobExEx = jee;
                 getLog().info("Job " + jobDetail.getFullName() + 
                         " threw a JobExecutionException: ", jobExEx);
-            } catch (Exception e) {
+            } catch (Throwable e) {
                 endTime = System.currentTimeMillis();
                 getLog().error("Job " + jobDetail.getFullName() + 
                         " threw an unhandled Exception: ", e);