Nice/src/bossa/syntax methodbody.nice,1.14,1.15
Daniel Bonniot <[email protected]> Sun, 13 Mar 2005 03:08:17 +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-serv5288/src/bossa/syntax
Modified Files:
methodbody.nice
Log Message:
Avoid dumping cryptic exceptions on the poor user!
Index: methodbody.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/methodbody.nice,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** methodbody.nice 11 Mar 2005 17:35:52 -0000 1.14
--- methodbody.nice 13 Mar 2005 03:08:13 -0000 1.15
***************
*** 413,417 ****
}
catch(mlsub.typing.TypingEx e) {
! throw User.error(name, "Type error in method body \""+name+"\":\n"+e);
}
--- 413,420 ----
}
catch(mlsub.typing.TypingEx e) {
! if (Debug.powerUser)
! throw User.error(name, "Type error in method body \""+name+"\":\n"+e);
! else
! throw User.error(name, "Type error in method implementation");
}
-------------------------------------------------------
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