gettingstarted
[Top] [All Lists]

Re: Handling OutOfBoundsException

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Handling OutOfBoundsException
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Fri, 25 Feb 2005 09:09:12 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <611bf761c0e33bb715850f15b1942ed8 at myactv dot net>
At 9:47 AM -0500 2/25/05, Paul Young wrote:

I'm writing a simple utility to fill a ListBox with data from an AddressBook: Name, email address and telephone number. Some contacts do not include the telephone number data and I get an "OutOfBoundsException" error even though I use the following code at the end of the Method:

Are you sure that this method is where the unhandled exception is being raised? When you run it under the debugger, where does it stop to show you the error? (And remember, the debugger WILL stop even when you have an exception handler; it's just that you should be able to continue, dropping down into the Exception or Catch block).

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>

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