Author: jm
Date: 2012-10-09 10:28:09 -0700 (Tue, 09 Oct 2012)
New Revision: 30634

Modified:
   
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
Log:
Fixes #1507: AppManager no longer fails to initialize if it has issues loading/d
eleting apps


Modified: 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
===================================================================
--- 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
  2012-10-09 17:27:51 UTC (rev 30633)
+++ 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
  2012-10-09 17:28:09 UTC (rev 30634)
@@ -180,7 +180,7 @@
                                        
FileUtils.deleteQuietly(app.getAppFile());
                                        app.setAppFile(null);
                                }               
-                       } catch (AppDisableException e) {
+                       } catch (Throwable e) {
                        }
                }
                
@@ -200,7 +200,7 @@
                                        
FileUtils.deleteQuietly(app.getAppFile());
                                        app.setAppFile(null);
                                }
-                       } catch (AppUninstallException e) {
+                       } catch (Throwable e) {
                        }
                }
                
@@ -220,7 +220,7 @@
                                        
FileUtils.deleteQuietly(app.getAppFile());
                                        app.setAppFile(null);
                                }
-                       } catch (AppInstallException e) {
+                       } catch (Throwable e) {
                                logger.warn("Failed to initially install app, " 
+ e);
                        }
                }

-- 
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