ryangose / pandorasbox3

Automatically exported from code.google.com/p/pandorasbox3
0 stars 0 forks source link

Improve error management #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
an example:

When pandora finds a profile but not the language dll throws an error
message box for every component of the form that it tries to load, so you
have to close a lot of windows.
The best thing here is to show the message box only one time and then close
pandora (or open a file browser allowing the user to find the right dll and
copy it in the right folder).

Original issue reported on code.google.com by smjer...@libero.it on 29 Sep 2008 at 9:17

GoogleCodeExporter commented 8 years ago
I have a fix for that. I will post it later.

Original comment by Tarion86 on 22 Feb 2009 at 11:15

GoogleCodeExporter commented 8 years ago
I fixed the example. There are two messages and then the program close.

But there should be an global error management. 
Such as consistent usage of exceptions or an singleton ErrorHandler class with
different error and warning methods and error logging.

Original comment by Tarion86 on 23 Feb 2009 at 5:24

GoogleCodeExporter commented 8 years ago
Now catching all unhanded exceptions even if they are thrown in other threads or
librarys.

Original comment by Tarion86 on 4 May 2009 at 4:31

GoogleCodeExporter commented 8 years ago
Error handling in an interesting topic. I will start to write an error handle, 
trace
and logging DLL. Maybe with the use of log4net. 

Original comment by Tarion86 on 25 May 2009 at 11:41

GoogleCodeExporter commented 8 years ago
I added log4net to the repository. It is not used yet.

Original comment by Tarion86 on 21 Jun 2009 at 9:10

GoogleCodeExporter commented 8 years ago
Working on intergration of log4net.
There will be a boolean switch to change back to the old logger for the first 
time.
See: TheBox.Common.BoxLog.USE_LOG4NET

Original comment by Tarion86 on 26 Apr 2010 at 8:18