I am confused by the whole exception thing and was hoping someone could shed some light.

When I am running a script in the shell what are the possible exceptions that can be caught and when?

I know I can throw an exception using javascript
>throw "pie";

And there are exceptions with a rhinoException property.
catch(err) {
   err.rhinoException ...

Q: are there non-javascript exceptions which do not have a rhinoException property? Q: are there err.rhinoExceptions which are not instances of org.mozilla.javascript.WrappedExceptions?
Q: are there other types of exceptions than these?
Q: did I miss some documentation someplace?

Thanks
terry

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to