[Swift-commit] r4802 - trunk/src/org/griphyn/vdl/karajan

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jul 7 18:34:42 CDT 2011


Author: hategan
Date: 2011-07-07 18:34:42 -0500 (Thu, 07 Jul 2011)
New Revision: 4802

Modified:
   trunk/src/org/griphyn/vdl/karajan/Monitor.java
Log:
don't fail miserably if there is an exception when trying to get the value of a variable

Modified: trunk/src/org/griphyn/vdl/karajan/Monitor.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/Monitor.java	2011-07-07 23:34:06 UTC (rev 4801)
+++ trunk/src/org/griphyn/vdl/karajan/Monitor.java	2011-07-07 23:34:42 UTC (rev 4802)
@@ -212,8 +212,11 @@
 					}
 				}
 				catch (DependentException e) {
-					value = "Dependent exception";
+					value = "<dependent exception>";
 				}
+				catch (Exception e) {
+				    value = "<exception>";
+				}
 				ps.println(handle.getType() + " " + handle.getDisplayableName() + " " + value + " " + f);
 			}
 			ps.println("----");




More information about the Swift-commit mailing list