This is in continuation of question in link: I am learning the Exception handling in java (basically in inheritance) that child class method must throw the exception which is subclass of parent class method.
"When a subclass overrides a method in super class then subclass method definition can only specify all or subset of exceptions classes in the throws clause of the parent class method(or overridden method"
This is a rule. but i am not able to figure out whats the reason behind making this rule, Why vice versa is not allowed. Why this rule is created