Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

Thread Tools Display Modes
Exceptions on use of array
Junior Member
Status: Offline
Posts: 5
Join Date: Jul 2011
Location: Forest Hill
Default Exceptions on use of array - 12-09-2011, 08:17 PM

Trying a simple OO code set where I initialize an array of penguin objects with two instances of a penguin object and iterate through the list to call a method on the object. There is a custom method called flapWings() on the penguin class.

1. When the exception occurs, it's unable to report back to the server via the various methods (thus my post here)

2. While the syntax seems to work, the exception occurs non-the-less.

If you'd like the source code, let me know. Alice3 files are not supported here.

I'm running this on a Macbook Pro with OS X 10.6.8. Plenty of memory and disk space. I set the language to Java as I wanted to see more detail but the exception occurs in either language.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.