System.out if error setting properties
authoramwaterhouse <Andrew Waterhouse>
Fri, 19 Aug 2005 08:49:28 +0000 (08:49 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 19 Aug 2005 08:49:28 +0000 (08:49 +0000)
src/jalview/bin/Cache.java

index 7f714e5..480bf5d 100755 (executable)
@@ -237,7 +237,7 @@ public class Cache
             out.close();\r
         }\r
         catch (Exception ex)\r
-        {    }\r
+        {   System.out.println("Error setting property: "+key+" "+obj+"\n"+ex);   }\r
         return obj;\r
     }\r
 \r
@@ -250,6 +250,6 @@ public class Cache
             out.close();\r
         }\r
         catch (Exception ex)\r
-        {    }\r
+        {  System.out.println("Error saving properties: "+ex);  }\r
     }\r
 }\r