Hey yall, just wanted to post something up here real quick to see if I can get some more eyes on it. I have code that is throwing an out of bounds exception and it is for a program that accepts appointments into a ragged array. The ragged parts are the columns representing the days of the months. I digress. When I try to overwrite a pre-existing appointment I have it prompt me to overwrite and then bam!
I noted the line number where it is thrown.
Here is were it is called to overwrite and tossed in as a parameter:
at raggedArray.isDateValid(raggedArray.java:134) at raggedArray.setAppointment(raggedArray.java:238)
This reads the first character and checks if it is 'Y' and then reads the next character before checking if it is 'y'. Store the first character as Satou suggested and check that instead. [ April 10, 2006: Message edited by: Joanne Neal ]
Joined: Mar 02, 2003
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com