Main      Site Guide    
Message Forum
Re: Polls for Dummies/Luddites
Posted By: teach, on host 209.226.89.89
Date: Saturday, June 8, 2002, at 08:33:13
In Reply To: Re: Polls for Dummies posted by Sam on Saturday, June 8, 2002, at 07:34:32:

> These are all for error handling. "Raise" throws an exception, which sends an error code back to the caller of the function/method to indicate that something failed. You put calls to methods that throw exceptions in a "try" block, and the "except" block that follows a "try" block is what gets executed if an exception is caught. You can have multiple "except" blocks, one for each kind of exception that might be thrown. A "finally" block is what gets executed if and after ANY except block is executed.

Oh, well thanks. That makes it *so* much clearer.

te "where the heck was the "HUH??" choice" ach

Post a Reply

RinkChat Username:
Password:
Email: (optional)
Subject:
Message:
Link URL: (optional)
Link Title: (optional)

Make sure you read our message forum policy before posting.