Dec-21-2018, 10:58 AM
Quote:catching different exceptions happens in different for reasons like wat that piece of code was designed forWhat you want is not clear. I'm saying that having FooError happen during the handling of BarError doesn't remove any possibilities for the code catching FooError. It is a supplement of information which can potentially be exploited by the code.