in reply to Advantages of OO-ish exception handling..
Inheritance. You can then test for the type of exception caught using isa (or its equivalent in whichever language you're using). This way, you can partition the set of possible exceptions into useful subsets, and deal with each subset individually.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Advantages of OO-ish exception handling..
by vladb (Vicar) on Dec 22, 2001 at 12:23 UTC |