Click here to Skip to main content
15,905,682 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Check if my Printer is Connected Pin
Mustafa Ismail Mustafa26-Apr-08 8:29
Mustafa Ismail Mustafa26-Apr-08 8:29 
GeneralRe: How to Check if my Printer is Connected Pin
mostafa_h26-Apr-08 8:47
mostafa_h26-Apr-08 8:47 
GeneralRe: How to Check if my Printer is Connected Pin
Mustafa Ismail Mustafa26-Apr-08 8:53
Mustafa Ismail Mustafa26-Apr-08 8:53 
Generaluncaught exception handlers Pin
George_George26-Apr-08 4:52
George_George26-Apr-08 4:52 
GeneralRe: uncaught exception handlers Pin
Spacix One26-Apr-08 5:42
Spacix One26-Apr-08 5:42 
GeneralRe: uncaught exception handlers Pin
Derek Bartram26-Apr-08 7:32
Derek Bartram26-Apr-08 7:32 
GeneralRe: uncaught exception handlers Pin
Spacix One26-Apr-08 7:56
Spacix One26-Apr-08 7:56 
GeneralRe: uncaught exception handlers Pin
Christian Graus26-Apr-08 11:28
protectorChristian Graus26-Apr-08 11:28 
Actually, he is right. You should only do a catch all when performing an operation that you're willing to let fail, or at the top level, to report errors to an end user and write them to a log. The only reason to catch all, is because you're looking to work out why your code is failing, and to log an error.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: uncaught exception handlers Pin
George_George26-Apr-08 21:25
George_George26-Apr-08 21:25 
GeneralRe: uncaught exception handlers Pin
Derek Bartram26-Apr-08 11:34
Derek Bartram26-Apr-08 11:34 
GeneralRe: uncaught exception handlers Pin
George_George26-Apr-08 21:26
George_George26-Apr-08 21:26 
GeneralRe: uncaught exception handlers Pin
Derek Bartram27-Apr-08 0:14
Derek Bartram27-Apr-08 0:14 
GeneralRe: uncaught exception handlers Pin
George_George27-Apr-08 2:11
George_George27-Apr-08 2:11 
GeneralRe: uncaught exception handlers Pin
Derek Bartram30-Apr-08 1:50
Derek Bartram30-Apr-08 1:50 
GeneralRe: uncaught exception handlers Pin
George_George30-Apr-08 4:00
George_George30-Apr-08 4:00 
GeneralRe: uncaught exception handlers Pin
Derek Bartram30-Apr-08 4:54
Derek Bartram30-Apr-08 4:54 
GeneralRe: uncaught exception handlers Pin
George_George30-Apr-08 5:09
George_George30-Apr-08 5:09 
GeneralRe: uncaught exception handlers Pin
MidwestLimey28-Apr-08 6:54
professionalMidwestLimey28-Apr-08 6:54 
GeneralRe: uncaught exception handlers Pin
George_George29-Apr-08 2:30
George_George29-Apr-08 2:30 
GeneralRe: uncaught exception handlers Pin
MidwestLimey29-Apr-08 4:38
professionalMidwestLimey29-Apr-08 4:38 
GeneralRe: uncaught exception handlers Pin
George_George29-Apr-08 5:00
George_George29-Apr-08 5:00 
GeneralRe: uncaught exception handlers Pin
Spacix One29-Apr-08 5:44
Spacix One29-Apr-08 5:44 
GeneralRe: uncaught exception handlers Pin
MidwestLimey29-Apr-08 11:43
professionalMidwestLimey29-Apr-08 11:43 
GeneralRe: uncaught exception handlers Pin
George_George29-Apr-08 19:58
George_George29-Apr-08 19:58 
GeneralRe: uncaught exception handlers Pin
Spacix One2-May-08 5:18
Spacix One2-May-08 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.