Forum Post: RE: Find first/Last failed for table (565) when used in a METHOD of a CLASS

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
Before I had the method2() completely in construcotr, I removed the code and made it as method2(). Moving it, but still calling it in the constructor, doesn't change my point. If you call it in the constructor and it fails, then you don't have a valid instance of the class and you are kind of stuck on recovery. If you call it in an Initialize() method, you can trap and make a graceful handling.

Continue reading...
 
Status
Not open for further replies.
Back
Top