Check value for Client.new and raise if NULL
Add fail: label after SWIG_exception
Set explicit -source version for older Java compilers
Don't set defaults in function call, set them earlier