>I have a utility class and I want to isolate class specific errors.
>There is a way to, if an error occurs, to stop method code execution, write error
>info in a class text property and then return .F. to calling program/form ?
>I don't want to stop entire application or write into a error log, just stop and
>report error information in that text property.
>
>Is possible soemthing like this? (VFP 7)
I think you could probably handle this with code in your class objects' Error methods. Do you need more specific information than this?
Update: You might also need RETURN TO PROGRAM(n) at the end of the Error method, "n" being dependent on how many layers you need to go back to get to the right place.