HewlettPackard / mds

Managed Data Structures
GNU General Public License v3.0
27 stars 5 forks source link

Use lightweight exceptions in naming #5

Open EvanKirshenbaum opened 7 years ago

EvanKirshenbaum commented 7 years ago

[imported from HPE issue 23]

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.

EvanKirshenbaum commented 6 years ago

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. :-)