It just seemed like the obvious place to use an Inner Class. I also tried a nested class with exactly the same result.
The compiler isn't complaining at all - I'm only getting this error at runtime...
[Message sent by forum member 'phunni']
http://forums.java.net/jive/thread.jspa?messageID=393310