[Nice-commit] Nice/src/bossa/syntax javaMethod.nice,1.14,1.15 tools.nice,1.110,1.111
Brought to you by:
bonniot
From: Artem Gr K. <ar...@us...> - 2005-04-02 09:09:50
|
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() + |