Author: jm
Date: 2012-06-05 09:28:33 -0700 (Tue, 05 Jun 2012)
New Revision: 29455

Modified:
   
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/task/JDialogTaskManager.java
Log:
Fixes #1070: JDialogTaskManager no longer dies silently when a task throws a 
Throwable that isn't an Exception.

Modified: 
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/task/JDialogTaskManager.java
===================================================================
--- 
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/task/JDialogTaskManager.java
        2012-06-05 15:56:22 UTC (rev 29454)
+++ 
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/task/JDialogTaskManager.java
        2012-06-05 16:28:33 UTC (rev 29455)
@@ -243,9 +243,9 @@
                                        if (taskMonitor.cancelled())
                                                break;
                                }
-                       } catch (Exception exception) {
+                       } catch (Throwable exception) {
                                logger.warn("Caught exception executing task. 
", exception);
-                               taskMonitor.showException(exception);
+                               taskMonitor.showException(new 
Exception(exception));
                        }
 
                        // clean up the task monitor

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to