🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9249

JS, CS2 - Can I catch errors in javascript?

#9249
From: nicole.ca
Date: Thu, 07 Sep 2006 15:18
7 lines
951 bytes
Hi, All,

I'm writing javascript, and I want to handle errors myself. But my script always terminates when meeting an error before I can catch it. How can I catch errors in script without stoping it?

Any ideas or tips? Thank you very much.

Nicole
Technical Details
Message-ID: <3bc18d78.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.motzarella.org!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,48cb942af6c8c591,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: nicole.ca@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.motzarella.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: JS, CS2 - Can I catch errors in javascript?
Message-ID: <3bc18d78.-1@webcrossing.la2eafNXanI>
Date: Thu, 7 Sep 2006 08:18:10 -0700
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit