Author: dsakovich
Date: 2007-07-25 05:02:07 -0400 (Wed, 25 Jul 2007)
New Revision: 2649
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-586 add ignore MissingResourceException
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java 2007-07-25
08:40:20 UTC (rev 2648)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java 2007-07-25
09:02:07 UTC (rev 2649)
@@ -19,6 +19,7 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.MissingResourceException;
import java.util.Properties;
import java.util.ResourceBundle;
@@ -211,7 +212,10 @@
return bundle;
}
- } catch(Exception e) {
+ } catch (MissingResourceException ex) {
+ // Ignore this exception
+ }
+ catch(Exception e) {
VpePlugin.getPluginLog().logError(e);
}
return null;