Supertype of MalformedParametersException
Alex Buckley
alex.buckley at oracle.com
Fri Sep 13 14:32:59 PDT 2013
The general theme is that we do the "right thing" for new types like
j.l.r.Executable, rather than going for consistency at all costs. So,
we've decided to throw an unchecked exception class from getParameters()
when the class file is bad.
The open issue is whether it should be a run-time exception class or an
error class.
Alex
On 9/13/2013 1:39 PM, Paul Benedict wrote:
> I think the consistent exception hierarchy for reflective operations should
> remain in tact. Although it's annoying checked exceptions exist, my
> preference would be to extend from ReflectiveOperationException rather than
> RuntimeException.
>
> Thoughts?
>
More information about the enhanced-metadata-spec-discuss
mailing list