Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: Web Service and Thin Client. Pin
EliottA26-May-09 10:12
EliottA26-May-09 10:12 
JokeRe: Web Service and Thin Client. Pin
DaveyM6926-May-09 11:00
professionalDaveyM6926-May-09 11:00 
GeneralRe: Web Service and Thin Client. Pin
EliottA26-May-09 11:01
EliottA26-May-09 11:01 
QuestionApplication Settings. How to iterate ? Pin
davebarkshire26-May-09 6:48
davebarkshire26-May-09 6:48 
AnswerRe: Application Settings. How to iterate ? Pin
Alan N26-May-09 11:07
Alan N26-May-09 11:07 
AnswerRe: Application Settings. How to iterate ? Pin
davebarkshire27-May-09 0:22
davebarkshire27-May-09 0:22 
QuestionC# multiple catch blocks Pin
proganon26-May-09 6:34
proganon26-May-09 6:34 
AnswerRe: C# multiple catch blocks Pin
Luc Pattyn26-May-09 6:44
sitebuilderLuc Pattyn26-May-09 6:44 
Hi,

if you want to catch *all* Exception types and threat them identically, then no there is no use in having separate catch blocks.

BTW: logging is fine, not dealing with the Exception probably is a poor choice, since (unless you rethrow the Exception) the caller will be unaware something went wrong.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: C# multiple catch blocks Pin
proganon26-May-09 7:24
proganon26-May-09 7:24 
AnswerRe: C# multiple catch blocks Pin
Vikram A Punathambekar26-May-09 7:53
Vikram A Punathambekar26-May-09 7:53 
AnswerRe: C# multiple catch blocks Pin
Pete O'Hanlon26-May-09 11:34
mvePete O'Hanlon26-May-09 11:34 
QuestionMy Project gives an error out of VS... How can I debug? Pin
SimpleData26-May-09 6:08
SimpleData26-May-09 6:08 
AnswerRe: My Project gives an error out of VS... How can I debug? Pin
OriginalGriff26-May-09 6:15
mveOriginalGriff26-May-09 6:15 
GeneralRe: My Project gives an error out of VS... How can I debug? Pin
SimpleData26-May-09 6:16
SimpleData26-May-09 6:16 
GeneralRe: My Project gives an error out of VS... How can I debug? Pin
SimpleData26-May-09 6:36
SimpleData26-May-09 6:36 
GeneralRe: My Project gives an error out of VS... How can I debug? Pin
Luc Pattyn26-May-09 6:50
sitebuilderLuc Pattyn26-May-09 6:50 
AnswerRe: My Project gives an error out of VS... How can I debug? Pin
0x3c026-May-09 6:34
0x3c026-May-09 6:34 
Questionhow to display default image in datagridview in c#.net 3.5 Win Forms? Pin
Narendra Reddy Vajrala26-May-09 5:43
Narendra Reddy Vajrala26-May-09 5:43 
AnswerRe: how to display default image in datagridview in c#.net 3.5 Win Forms? Pin
Henry Minute26-May-09 12:52
Henry Minute26-May-09 12:52 
Questionan array question [modified] Pin
bluetx26-May-09 5:05
bluetx26-May-09 5:05 
AnswerRe: an array question Pin
Ennis Ray Lynch, Jr.26-May-09 5:12
Ennis Ray Lynch, Jr.26-May-09 5:12 
GeneralRe: an array question Pin
bluetx26-May-09 5:14
bluetx26-May-09 5:14 
GeneralRe: an array question Pin
harold aptroot26-May-09 5:16
harold aptroot26-May-09 5:16 
GeneralRe: an array question Pin
Ennis Ray Lynch, Jr.26-May-09 5:22
Ennis Ray Lynch, Jr.26-May-09 5:22 
GeneralRe: an array question Pin
OriginalGriff26-May-09 6:14
mveOriginalGriff26-May-09 6:14 

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.