From: Igor P. <ipe...@us...> - 2008-03-29 18:59:11
|
Update of /cvsroot/x10/x10.runtime/src/x10/runtime In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30009/src/x10/runtime Modified Files: X10Runnable.java Activity.java Log Message: Declare runX10Task() as throwing everything (in case user main() does) Index: X10Runnable.java =================================================================== RCS file: /cvsroot/x10/x10.runtime/src/x10/runtime/X10Runnable.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- X10Runnable.java 5 Feb 2007 09:30:44 -0000 1.3 +++ X10Runnable.java 29 Mar 2008 18:26:09 -0000 1.4 @@ -22,5 +22,5 @@ /** * Method implementation encapsulates user code to run as an X10 activity. */ - public void runX10Task(); + public void runX10Task() throws Throwable; } Index: Activity.java =================================================================== RCS file: /cvsroot/x10/x10.runtime/src/x10/runtime/Activity.java,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- Activity.java 5 Feb 2007 09:27:46 -0000 1.45 +++ Activity.java 29 Mar 2008 18:26:09 -0000 1.46 @@ -207,7 +207,7 @@ * Implemented by X10 activities, actual activity "user" code * generated by xcd templates. */ - public abstract void runX10Task(); + public abstract void runX10Task() throws Throwable; /** * Waits for this activity to be fully executed by the X10 runtime. |