Ola Bini wrote:
Charles Oliver Nutter wrote:
Ola Bini wrote:
Hi,
Now that I'm working through all the lovely method bindings in
OpenSSL it dawns on me that it's actually a bit of a problem to have
Java exceptions thrown. Could we disallow this with a check in
@JRubyMethod? I think that would be beneficial, since we don't handle
Java exceptions the same in all call paths. Even more so, it would
generally be an error to let a Java exception out anyway.
Thoughts?
What do you mean by disallow?
Throw exceptions when annotating a method with a throws clause, maybe?
Or just a warning?
Ahh...yes, that would be good. We can't really inspect the method body
itself for RuntimeExceptions, but at least we could prevent checked
exceptions from being allowed.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email