Fix exception raising in generate_types.py
java: Document per IPConnection Listener add/remove functions