Re: [lang] RuntimeException types

2014-01-30 Thread Duncan Jones
On 30 Jan 2014 16:38, "Matt Benson" wrote: > > How do we feel about changing the type of a thrown RTE? Specifically, we > have agreed to standardize on the idea that Validate.notNull() throws > NullPointerException, but the recently added > FieldUtils#removeFinalModifier() method validates the in

Re: [lang] RuntimeException types

2014-01-30 Thread Gary Gregory
Aside from that, the method continues the tradition of this class not cleaning up after itself. Please see my other email thread related to https://issues.apache.org/jira/browse/LANG-959. Gary On Thu, Jan 30, 2014 at 11:37 AM, Matt Benson wrote: > How do we feel about changing the type of a t

[lang] RuntimeException types

2014-01-30 Thread Matt Benson
How do we feel about changing the type of a thrown RTE? Specifically, we have agreed to standardize on the idea that Validate.notNull() throws NullPointerException, but the recently added FieldUtils#removeFinalModifier() method validates the incoming field parameter with Validate.isTrue(field != n