compiler. Removed exception type, #345.
java, python. Removed exception type, fixed #345.
compiler. Simplified java generator, #318.
compiler. Simplified python generator, #318.