Re: [Jmol-users] Try / catch not working for file loading

2016-03-01 Thread Rolf Huehne
On 03/01/2016 03:54 PM, Robert Hanson wrote: > It's harder than you think. There are several other messages that can come > up besides 404 that would signify a file read failure [ > https://en.wikipedia.org/wiki/List_of_HTTP_status_codes] > Yes I know. I rather thought to use the very few success c

Re: [Jmol-users] Jmol 14.4.3_2016.02.27

2016-03-01 Thread Robert Hanson
I have placed a revised JSmol.min.js at http://chemapps.stolaf.edu/jmol/zip/JSmol.min.js On Mon, Feb 29, 2016 at 3:55 PM, Robert Hanson wrote: > OK, so there are four images now: > > Info.coverImage provided by user if desired; no default > appletLoadingImageJSmol_spinner.gif > Inf

Re: [Jmol-users] Try / catch not working for file loading

2016-03-01 Thread Robert Hanson
It's harder than you think. There are several other messages that can come up besides 404 that would signify a file read failure [ https://en.wikipedia.org/wiki/List_of_HTTP_status_codes] try/catch is primarily for *Jmol scripting errors. *Just like try/catch in JavaScript is for JavaScript errors