2003/12/29 03:25:43
[org.ibex.core.git] / src / org / xwt / XWT.java
index 71d3feb..25a05a3 100644 (file)
@@ -185,7 +185,7 @@ public final class XWT extends JS {
             }
         } catch (RuntimeException e) {
             // FIXME: maybe JSExn should take a second argument, Exception
-            Log.log(this, "xwt."+name+"() threw: "+e);
+            Log.info(this, "xwt."+name+"() threw: "+e);
             throw new JSExn("invalid argument for xwt object method "+name+"()");
         }
 
@@ -298,8 +298,8 @@ public final class XWT extends JS {
             } catch (XML.Exn e) {
                 throw new JSExn("error parsing XML: " + e.toString());
             } catch (IOException e) {
-                if (Log.on) Log.log(this, "IO Exception while reading from file");
-                if (Log.on) Log.log(this, e);
+                if (Log.on) Log.info(this, "IO Exception while reading from file");
+                if (Log.on) Log.info(this, e);
                 throw new JSExn("error reading from Resource");
             }
             return obStack.size() >= 1 ? (JS)obStack.elementAt(0) : null;