> I've seen that the exception is rethrown (in JS) if there is not a catch
> all statement.
> Another matter is that the catch all statement is always executed, also
> if a previous catch has treated the exception; should the catch chain be
> in the form of if(){...}else if(){...}else{...}?
Yes this is a bug in the JS generator.
Nicolas