Hi,
In my application I use the error handler class developed by Doug Hennig many years ago. It is good and it serves/served the purpose. Over the years I added some code but for the most part it is the same.
I want to add the logging of the ALIAS() at the time of the error. Right now the error class does not do it. So, here is what I see (and in initial test works) can be done:
The error handler is instantiated with the following code:
lcError = lcErrorObj + '.ErrorHandler(error(), sys(16), lineno())'
So, I added the alias() to the above, as follows:
lcError = lcErrorObj + '.ErrorHandler(error(), sys(16), lineno(), ALIAS())'
Therefore, now the method ErrorHandler gets 4 parameters, the last of which is the alias()
Anyone sees a potential problem with the above?
TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham