Why is it allowed to catch subtype of a thrown exception in Java

NoSuchKey

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=111797&siteId=1