Internet Explorer 5.0 Review, Part IV: Exception Handling, A Final Word - www.docjavascript.com
Internet Explorer 5.0 Review, Part IV: Exception Handling (8)
A Final Word
In this column we showed how to handle run-time exceptions in Internet Explorer 5's new JavaScript. We demonstrated several examples of the try...catch
statement in JavaScript. We highlighted the differences and similarities between JavaScript and the other programming languages, C++, Java, and VBScript. We tried to give you the sense that JavaScript has gone up a class by the addition of the exception handling mechanism. We also tried to convince you that JavaScript's exception handling is superior to that of VBScript. In this column you learned:
- How to write an exception-handling code for JavaScript-thrown exceptions.
- How to write an exception-handling code for user-thrown exceptions.
- How to write an exception-handling code for handling user-thrown exceptions in a real application.
- How to distinguish between JavaScript's exception handling and C++'s and Java's.
- How to distinguish between JavaScript's exception handling and VBScript's.
- How to workaround inconsistencies between JavaScript and VBScript.
Produced by Yehuda Shiran and Tomer Shiran
Created: April 26, 1999
Revised: April 26, 1999
URL: https://www.webreference.com/js/column38/final.html