"Sputnik" help  
Sputnik Help
Language Reference - Exception Handling
Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception.

This is what normally happens when an exception is triggered:

Note: Exceptions should only be used with error conditions, and should not be used to jump to another place in the code at a specified point.

When an exception is thrown, the code following it will not be executed, and Sputnik will try to find the matching "catch" block.

If an exception is not caught, a fatal error will be issued with an "Uncaught Exception" message.

Click here to go to the Try/Catch/Finally statement to read about how it works and how to use it (as well as see examples for it).

Cheryl (uberfox@hotmail.com)