Quick fix: executionTime counter was still running after exception

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1528507 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/extender/internal/queue/JobInfoCallable.java b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/extender/internal/queue/JobInfoCallable.java
index 8ad2e1c..2216533 100644
--- a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/extender/internal/queue/JobInfoCallable.java
+++ b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/extender/internal/queue/JobInfoCallable.java
@@ -112,8 +112,10 @@
         try {
             m_queueNotifier.fireStartedJobInfo(this);
             result = m_delegate.call();
+            endTime = System.currentTimeMillis();
             return result;
         } catch (Exception e) {
+            endTime = System.currentTimeMillis();
             m_queueNotifier.fireFailedJobInfo(this, e);
             if (m_callback != null) {
                 m_callback.error(this, e);
@@ -123,7 +125,6 @@
         } finally {
             m_statistic.getCurrentsCounter().decrementAndGet();
             m_statistic.getFinishedCounter().incrementAndGet();
-            endTime = System.currentTimeMillis();
 
             // Only exec success callbacks when no error occurred
             if (exception == null) {