Nice/src/bossa/syntax javaMethod.nice,1.14,1.15 tools.nice,1.110,1.111

Artem Gr Kozarezov <[email protected]> Sat, 02 Apr 2005 09:09:27 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/bossa/syntax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20557/src/bossa/syntax

Modified Files:
	javaMethod.nice tools.nice 
Log Message:
?String getMessage(Throwable) retyping.

Index: tools.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/tools.nice,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** tools.nice	1 Apr 2005 00:09:22 -0000	1.110
--- tools.nice	2 Apr 2005 09:09:24 -0000	1.111
***************
*** 95,98 ****
--- 95,102 ----
  }
  
+ // UserError tolerates null messagess.
+ bossa.util.UserError User_error(?Located responsible, ?String message) =
+   native bossa.util.UserError bossa.util.User.error(Located, String);
+ 
  ?(MonoSymbol, mlsub.typing.Monotype) getInstanceof(CallExp condition)
  {

Index: javaMethod.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/javaMethod.nice,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** javaMethod.nice	1 Apr 2005 16:05:53 -0000	1.14
--- javaMethod.nice	2 Apr 2005 09:09:08 -0000	1.15
***************
*** 248,252 ****
    }
    catch(NoClassDefFoundError e) {
!     User.warning("Class " + e.getMessage().replace('/','.') + 
  	   " was not found.\n" + 
  	   "It is refered to in class " + classType.getName() +
--- 248,252 ----
    }
    catch(NoClassDefFoundError e) {
!     User.warning("Class " + notNull(e.getMessage()).replace('/','.') + 
  	   " was not found.\n" + 
  	   "It is refered to in class " + classType.getName() +



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click