As there's no code which ever calls those methods, other than the test runner, there's not any practical advantage to throwing more specific exceptions.
Still, throwing Exception isn't great style, so I'd be happy to see it changed. -- John > On 17 Feb 2015, at 14:03, Maruan Sahyoun <[email protected]> wrote: > > Hi, > > most individual tests within unit tests have throws Exception - shouldn't we > change it to the exception types we are typically throwing - mostly > IOException and not have the raw Exception? > > BR > Maruan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
