Search Mac Reference Library
WebObjects 4.5 Developer Documentation
Table of Contents
Previous
Next
PATH
Documentation
>
WebObjects 4.5
>
WebObjects Developer's Guide
Table of Contents
Previous Section
Exception Handling
WebScript supports exception handling in a fashion very similar to that of Objective-C. An exception is a special condition that interrupts the normal flow of program execution. Each application can interrupt the program for different reasons. For example, one application might interpret saving a file in a directory that's write-protected as an exception. In this sense, the exception is equivalent to an error. Another application might interpret the user's input as an exception, perhaps as an indication that a long-running process should be aborted.
Table of Contents
Next Section
Legacy
Legacy Mac OS X Reference Library
WebObjects 4.5 Developer Documentation