I read the following A legal nonabstract implementing class has the following properties: ... - It must not declare any new checked exceptions for an implementation method. - It must not declare any checked exceptions that are broader than the exceptions declared in the interface method. ...
I have some problem understanding how you could fulfil the first but fail to fulfil the second?
Anyone that could explain (maybe with a simple code example) how these rules correlate?