The JNI for types throws UnboundNameException and
IncompatibleTypeException. It's possible that these happen very
frequently, so it's probably not a good idea for them to be
heavyweight exceptions. We should probably make them be lightweight
(i.e., ErkUtils NonLocalControlException) exceptions and catch and
throw heavyweight equivalents when needed.
I'm going to go out on a limb and say that that commit (which appears to only touch a python file) didn't actually close this issue. I'm willing to be convinced otherwise. :-)
[imported from HPE issue 23]
The JNI for types throws
UnboundNameException
andIncompatibleTypeException
. It's possible that these happen very frequently, so it's probably not a good idea for them to be heavyweight exceptions. We should probably make them be lightweight (i.e., ErkUtilsNonLocalControlException
) exceptions and catch and throw heavyweight equivalents when needed.