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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Sun Nov 23 19:27:17 CST 2008


Author: benc
Date: 2008-11-23 19:27:16 -0600 (Sun, 23 Nov 2008)
New Revision: 2344

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
Log:
do not wrap FutureNotYetAvailable exceptions in an ExecutionException - when argument processing needs to wait on a future, the code was previously failing. This does not occur in HEAD at the moment, but does in some development code that I have.

Modified: trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2008-11-18 20:16:19 UTC (rev 2343)
+++ trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2008-11-24 01:27:16 UTC (rev 2344)
@@ -45,7 +45,10 @@
 			}
 			return null;
 		}
-		catch (Exception e) {
+		catch (FutureNotYetAvailable fnya) {
+			throw fnya;
+		}
+		catch (Exception e) { // TODO tighten this
 			throw new ExecutionException(e);
 		}
 	}




More information about the Swift-commit mailing list