Information générale
Titre:
Error Handler in a class
I'm trying to create an error handler in a class I'm working on, but I'm having a problem with object references.
I want to do something like:
ON ERROR DO THIS.HandleError WITH PROGRAM(), LINENO(), ERROR()
But when I encounter errors, I get an error that "this.handlerror does not exist."
I also tried doing it as a function call rather than a procedure, but I got an error that "THIS cannot be used outside of an object."
What is the big secret one must "get" to do an error handler in an object?
-- jas
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement