Hi,
I want to write an error handler for my project. I would call this handler
and have it print a message. What I'd like to be able to do is to have the
handler know which class called it. Also, since the class that called it may
have been passed bad data from another class, I'd like to pass the name of
the other class also (if applicable).
So, suppose Class A instantiates Class B. Can Class B know who Class A is
without Class A passing that information as a parameter?
I'd appreciate any suggestions or advice.
Art