The documentation at http://www.swig.org/Doc1.3/Java.html#exception_handling has a line that reads:
No declaration name is given to %exception, it is applied to all wrapper functions.
After reading the section a few times, I think there is supposed to be an "If" at the start of this sentence.
Logged In: YES
user_id=7557
Originator: NO
I've committed a fix to CVS.