> On 26 May 2016, at 08:21, Maruan Sahyoun <[email protected]> wrote:
> 
> Hi,
> 
> from time to time I come across a method signature with … throws IOException 
> where the code will not throw an exception and as such the declaration is nt 
> necessary.

In newer code these are probably for extensibility (so that a user-defined 
subclass can throw IOException) but in older code, as you say, many such 
exceptions are unnecessary.

As a breaking API change they will definitely have to wait until 3.0, so it’s 
probably not worth even thinking about that right now.

— John

> Can we remove such declarations in minor releases (e.g. 2.1)  or does that 
> need a major release (e.g. 3.0).
> BR
> 
> Maruan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to