From 78a68134aea8268ac1a5641e1d382d7b0fac3be1 Mon Sep 17 00:00:00 2001 From: Amirouche Boubekki Date: Mon, 1 Oct 2012 01:16:57 +0200 Subject: [PATCH] no need to raise an exception here --- jnius/jnius_conversion.pxi | 2 -- 1 file changed, 2 deletions(-) diff --git a/jnius/jnius_conversion.pxi b/jnius/jnius_conversion.pxi index 4a06326..1828153 100644 --- a/jnius/jnius_conversion.pxi +++ b/jnius/jnius_conversion.pxi @@ -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(