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.xxxx.xxxx.xxxx) {
//Do something 1
} else if (ex.getClass().getName().equals("xxxx")) {
//Do something 2
} else {
//Do something 3
throw(ex);
}
}
Cheers,
Robby Pelssers- how to catch and throw exceptions in cocoon2.1.10 (jav... Robby Pelssers, AGP
- Re: how to catch and throw exceptions in cocoon2.... Jason Johnston
- RE: how to catch and throw exceptions in coco... Robby Pelssers, AGP
- FW: how to catch and throw exceptions in cocoon2.... Robby Pelssers, AGP
