I am interfacing to some Java code using Javascript. Is it possible to
print just the javascript stack trace if an exception occurs?
My code looks like this:
try {
} catch (e) {
if (e instanceof java.lang.Exception)
e.printStackTrace();
}
'e.printStackTrace' calls the java.lang.Exception stack dump method.
In addition to this I would also like to display the javascript stack
dump when a Java exception is thrown. Is there a way to do it? Also is
there a way to print the combined Java and Javascript stack trace?
Regards
Amit
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino