ok so for most of my error handling i throw and exception and log the info of the error to a file...my question is...what should i do if the program/system is unable to log it to a file? should i throw an uncatched exception? should i just call exit()? i want to find a way that will help debugging so i can find why the log function and possibly trace back and find what error occured before that! -thx
lochnessmonster
0
Junior Poster
Recommended Answers
Jump to PostWhat about showing a messagebox with the error in the exception? That way, even though you handle it, you can know what it is
All 4 Replies
ndeniche
402
Posting Virtuoso
Featured Poster
caut_baia
9
Posting Whiz
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.