Hi there
Ã?Â
When building framework libraries that other libraries and end user applications and 3. party developers use what is then the prefered or best or even most correct way og implementing exception handling?
Ã?Â
My own ideer is to practually have no try catch blocks at all and let the using code do all the error handling. This way ALL exceptions are sent to the application and it can then deside weather or not its safe to continue..
Ã?Â
Ã?Â
And then logging. I believe again that a framework shouldnt write any log unless in some debug mode. If everything is working find and no errors is� ocurring no log is nessassery. And even if an error do ocurre then the only logging is the exception message attatched to the exception itself unless some debug switch is turned on.
Ã?Â
What are your ideers?I havent bee ...
Go to the complete details ...