Github user srowen commented on the issue:
https://github.com/apache/spark/pull/19182
Some of these 'throws' clauses may not be removable because they cause
callers that catch the checked exception to fail to compile.
Removing "throws Exception" in tests isn't obviously helpful, because it
means the signature has to change any time the tested code happens to throw a
new checked exception. There's no API problem as nothing invokes these methods
directly.
Private non-test methods, maybe.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]