no need to raise an exception here

This commit is contained in:
Amirouche Boubekki 2012-10-01 01:16:57 +02:00
parent 08a9d7888d
commit 78a68134ae
1 changed files with 0 additions and 2 deletions

View File

@ -52,8 +52,6 @@ cdef void populate_args(JNIEnv *j_env, list definition_args, jvalue *j_args, arg
elif isinstance(py_arg, JavaObject):
jo = py_arg
j_args[index].l = jo.obj
raise JavaException('JavaObject needed for argument '
'{0}'.format(index))
else:
raise JavaException('Invalid python object for this '
'argument. Want {0!r}, got {1!r}'.format(