Exceptions


Try ... catch
try {
...
}
catch (e) {
...
throw(e); // Re-throw the exception
}
  • Supported by: IE5+, NS6+, Mozilla, Firefox, ...