[Swift-commit] r2353 - in trunk: libexec src/org/griphyn/vdl/karajan/lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Dec 1 21:08:34 CST 2008


Author: benc
Date: 2008-12-01 21:08:32 -0600 (Mon, 01 Dec 2008)
New Revision: 2353

Modified:
   trunk/libexec/vdl.k
   trunk/src/org/griphyn/vdl/karajan/lib/VDLFunction.java
Log:
more expressive text around ExecutionException that wraps a DependentException

Modified: trunk/libexec/vdl.k
===================================================================
--- trunk/libexec/vdl.k	2008-12-02 02:56:11 UTC (rev 2352)
+++ trunk/libexec/vdl.k	2008-12-02 03:08:32 UTC (rev 2353)
@@ -61,6 +61,7 @@
 							for(path, fp
 								vdl:waitFieldValue(path=path, var)
 							)
+// NOTE this string-based catch is messy, and needs to match with the string used in DataDependentException and VDLFunction
 							catch(".*errors in data dependencies.*"
 								log(LOG:DEBUG, exception)
 								deperror = true

Modified: trunk/src/org/griphyn/vdl/karajan/lib/VDLFunction.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/VDLFunction.java	2008-12-02 02:56:11 UTC (rev 2352)
+++ trunk/src/org/griphyn/vdl/karajan/lib/VDLFunction.java	2008-12-02 03:08:32 UTC (rev 2353)
@@ -74,7 +74,7 @@
 		catch (DependentException e) {
 			// This would not be the primal fault so in non-lazy errors mode it
 			// should not matter
-			throw new ExecutionException(e);
+			throw new ExecutionException("Wrapping a dependent exception in VDLFunction.post() - errors in data dependencies",e);
 		}
 	}
 




More information about the Swift-commit mailing list