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.
In reply to Re: is this a perversion of OO principles?
by jonjacobmoon
in thread is this a perversion of OO principles?
by seattlejohn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |