User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » trying to catch a linked list out of bounds Page [1]  
Novicane
All American
15416 Posts
user info
edit post

in java

catch (IndexOutOfBoundsException e){
}

won't catch it

9/24/2006 4:46:51 PM

5 bucks
Suspended
829 Posts
user info
edit post

9/24/2006 4:51:43 PM

dakota_man
All American
26584 Posts
user info
edit post

I guess because it's a linked list, not an array. No idea though, sry

9/24/2006 4:56:38 PM

smoothcrim
Universal Magnetic!
18966 Posts
user info
edit post

if (linkedlist.nextnode == null) return false

9/24/2006 5:20:50 PM

 Message Boards » Tech Talk » trying to catch a linked list out of bounds Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.