8 Commits

Author SHA1 Message Date
nboyd%atg.com
bd6958cc25 Fix a bunch of warnings.
git-svn-id: svn://10.0.0.236/trunk@225019 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 17:31:12 +00:00
gerv%gerv.net
f31a42d169 Bug 236108 - changing licence from NPL/GPL to MPL/GPL to help the Apache people. The bug in question also suggests an eventual switch to MIT; that may come later.
git-svn-id: svn://10.0.0.236/trunk@215092 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 15:27:40 +00:00
igor%mir2.org
a5563f388c Removal of "throws JavaSriptException" declaration:
JavaSriptException now inherits from RhinoException which inherits from RuntimeException and as such it does not necessary to declare it.

Moreover, it is wrong to use it for the documentation purpose since a  script can also throw EcmaError and WrappedException and a proper documentation would require to document those exceptions as well. But since almost all Rhino functions can potentially execute script code it means that wast majority of functions would bear the declarations, not only code overriding or calling explicitly Function.call/construct. And then the throw declarations would bring no information if it always would be "throws RhinoException". Thus it is better not to litter sources with the declarations at all.


git-svn-id: svn://10.0.0.236/trunk@161917 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 12:29:59 +00:00
igor%mir2.org
0087decd80 Use newly introduced Context.initStandardObjects(), not initStandardObjects(null) in the examples
git-svn-id: svn://10.0.0.236/trunk@147795 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 07:00:40 +00:00
igor%mir2.org
250429589c Examples now uses try {} finally { Context.exit(); } to release Context even in case of errors
git-svn-id: svn://10.0.0.236/trunk@124854 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 17:49:16 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dmose%mozilla.org
239d60872d update license boilerplate to NPL dual w/GPL, r=norris@netscape,a=norris@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49766 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:44:05 +00:00
norris%netscape.com
9d998dfe27 Add new example.
git-svn-id: svn://10.0.0.236/trunk@39629 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 03:03:20 +00:00