Revision: 4816 http://sourceforge.net/p/vexi/code/4816 Author: clrg Date: 2015-10-06 21:51:22 +0000 (Tue, 06 Oct 2015) Log Message: ----------- Trivial. Error message should reference type for classes inheriting Immutable.
Modified Paths: -------------- branches/vexi3_integrated_layout/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp Modified: branches/vexi3_integrated_layout/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp =================================================================== --- branches/vexi3_integrated_layout/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp 2015-10-05 11:44:39 UTC (rev 4815) +++ branches/vexi3_integrated_layout/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp 2015-10-06 21:51:22 UTC (rev 4816) @@ -381,7 +381,7 @@ public boolean isTruthy() { return true; } public boolean instanceOf(JS constructor) { return false; } public void addConstructor(JS constructor) throws JSExn { - throw new JSExn("Attempted to add constructor to immutable"); + throw new JSExn("Attempted to add constructor to "+type()); } /** <p>Returns ClassName$xxxxxxxx where xxxxxxxx is the hashcode in hex.</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn