Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
May 30, 2000

Extending Error Object

Question:
I want to create a system error object that will take care of system errors and database errors. Should I inherit it from the error object, or should I create NVO?

Answer:
One advantage of inheriting from the error object is that you can change the datatype in your application object to use your new object, and all your existing code that was built in PowerBuilder code will use the new object.

I would recommend inheriting the error object and changing the global type.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date