Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 6e24808b88f41f01be16e78c42bbece1 > files > 2

abbot-0.12.3-1jpp.src.rpm

--- src/abbot/script/ComponentReference.java.orig	2004-07-08 15:54:52.135087000 +0200
+++ src/abbot/script/ComponentReference.java	2004-07-08 15:57:35.146277000 +0200
@@ -603,6 +603,11 @@
                                                  + " XML '" + input + "'");
             fromXML(el, false);
         }
+        catch(IOException e) {
+            throw new InvalidScriptException(e.getMessage()
+                                             + " (when parsing "
+                                             + input + ")");
+        }
         catch(JDOMException e) {
             throw new InvalidScriptException(e.getMessage()
                                              + " (when parsing "
--- src/abbot/script/Step.java.orig	2004-07-08 16:02:05.467109000 +0200
+++ src/abbot/script/Step.java	2004-07-08 16:02:45.347134000 +0200
@@ -200,6 +200,9 @@
             Element el = doc.getRootElement();
             return createStep(resolver, el);
         }
+        catch(IOException e) {
+            throw new InvalidScriptException(e.getMessage());
+        }
         catch(JDOMException e) {
             throw new InvalidScriptException(e.getMessage());
         }