General information
Category:
Object Oriented Programming
I never even thought about adding a property to the class. Doh! It's taking me a little while to get my head around this new way of doing things. :)
Thanks to everyone for the suggestions. Since they're all pretty similar, I'll just CC this thank you.
As to the changes to the "old way", yeah, I know to save the error handler. I was just trying to keep it simple.
Thanks,
Michelle
>First, I don't think there is necessarily anything wrong with the "old way". Except see changes below (you may already do this in "real life").
>
>Another way to do it is to have an error flag property in your application object. Or, you can have an error manager object (a private variable, created in your main program). The error handler would set properties in these objects. Again, see changes even further down.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only