gettingstarted
[Top] [All Lists]

Re: Handling OutOfBoundsException

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Handling OutOfBoundsException
From: Paul Young <youngpr at myactv dot net>
Date: Fri, 25 Feb 2005 12:02:07 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <611bf761c0e33bb715850f15b1942ed8 at myactv dot net> <a0620070dbe44efe3e9cd at [10 dot 10 dot 13 dot 4]> <005ac999e34c43a35636bd5b6d935d90 at myactv dot net> <a06200714be44f96c2610 at [10 dot 10 dot 13 dot 4]> <33d15420b3ba410f8ed213a4b826b603 at myactv dot net> <a06200718be450075cc2f at [10 dot 10 dot 13 dot 4]>
Thanks, Joe.  I will work with that suggestion.

Paul


On Feb 25, 2005, at 11:20 AM, Joseph J. Strout wrote:

At 11:15 AM -0500 2/25/05, Paul Young wrote:

If I resume, I get the MsgBox message but no additional lines are added.

Ah good, everything's working as it should then. You're not catching the exception within the loop; you're catching it at the end of the method. So, it jumps right out of your loop, to your Exception block, displays the message box, and then exits the method.

I was trying to be able to read all contact lines and handle the case where no requested info is available.

Then you need to use a Try/Catch block within the loop. See the language reference for details and examples.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>