RE: how to catch and throw exceptions in cocoon2.1.10 (javascript)

2007-01-10 Thread Robby Pelssers, AGP
pronkelijk bericht- Van: Jason Johnston [mailto:[EMAIL PROTECTED] Verzonden: woensdag 10 januari 2007 4:17 Aan: users@cocoon.apache.org Onderwerp: Re: how to catch and throw exceptions in cocoon2.1.10 (javascript) Robby Pelssers, AGP wrote: > Hi, > > I'm facing a problem that m

Re: how to catch and throw exceptions in cocoon2.1.10 (javascript)

2007-01-09 Thread Jason Johnston
Robby Pelssers, AGP wrote: Hi, I'm facing a problem that my old javascript file no longer works properly with constructions like instanceof, getClass(), throw. Can someone point me out how to do this? try { } catch (ex) { if (ex instanceof Packages...) { //Do som