On Tuesday, Aug 26, 2003, at 19:13 Europe/London, Dain Sundstrom wrote:

-1 for the reason below and I believe this type of requirement on programmers will lead to worse exception handling. If a developer has to add a new class for every exception message, they won't throw exceptions

Additionally, in a public 'spec' package you aren't allowed to add your own public subclasses of the spec exception. You could have non-public exceptions, but that would provide little benefit to the caller since they would not be able catch them directly (as they would not be visible).


On Tuesday, August 26, 2003, at 12:51 PM, Cabrera, Alan wrote:

Think about the ramifications of this proposal, it will lead to deep and
wide inheritance hierarchies for our exceptions. Do we want this?



Reply via email to