in reply to is this a perversion of OO principles?
In fact, sounds like code that we all might find useful.
One idea: would you want to make it so that you had four classes, one abstract MessageLibrary class, and three others for each type. You might find in the future that the different types of errors needs different methods of some type. It would also be easier to read because you would know what type you are dealing with. Just an idea that I hope helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
MessageLibrary code available for comment
by seattlejohn (Deacon) on Jan 07, 2002 at 08:44 UTC |