myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1417493 - /myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/core/monitor/ResourceMonitor.java
Date Wed, 05 Dec 2012 15:52:43 GMT
Author: werpu
Date: Wed Dec  5 15:52:42 2012
New Revision: 1417493

URL: http://svn.apache.org/viewvc?rev=1417493&view=rev
Log:
EXTSCRIPT-185 removal error handler for the interrupted exception

Modified:
    myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/core/monitor/ResourceMonitor.java

Modified: myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/core/monitor/ResourceMonitor.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/core/monitor/ResourceMonitor.java?rev=1417493&r1=1417492&r2=1417493&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/core/monitor/ResourceMonitor.java
(original)
+++ myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/core/monitor/ResourceMonitor.java
Wed Dec  5 15:52:42 2012
@@ -117,7 +117,9 @@ public class ResourceMonitor extends Thr
             //which causes the npe
             Thread.sleep(3000);
         } catch (InterruptedException ex) {
-            Logger.getLogger(ResourceMonitor.class.getName()).log(Level.SEVERE, null, ex);
+            //removing the interrupted exception error handler because it can happen
+            //and should not log an error.
+            //Logger.getLogger(ResourceMonitor.class.getName()).log(Level.SEVERE, null, ex);
         }
         
         while (!Thread.currentThread().isInterrupted())



Mime
View raw message