Click here to Skip to main content
15,921,884 members
Home / Discussions / C#
   

C#

 
GeneralRe: Automatic insertion of try catch block Pin
fjdiewornncalwe28-Oct-10 4:33
professionalfjdiewornncalwe28-Oct-10 4:33 
GeneralRe: Automatic insertion of try catch block Pin
OriginalGriff28-Oct-10 4:41
mveOriginalGriff28-Oct-10 4:41 
AnswerRe: Automatic insertion of try catch block Pin
Dave Kreskowiak28-Oct-10 6:25
mveDave Kreskowiak28-Oct-10 6:25 
GeneralRe: Automatic insertion of try catch block Pin
thomforum28-Oct-10 7:49
thomforum28-Oct-10 7:49 
GeneralRe: Automatic insertion of try catch block Pin
jschell28-Oct-10 8:04
jschell28-Oct-10 8:04 
GeneralRe: Automatic insertion of try catch block Pin
fjdiewornncalwe28-Oct-10 9:29
professionalfjdiewornncalwe28-Oct-10 9:29 
GeneralRe: Automatic insertion of try catch block Pin
Pete O'Hanlon28-Oct-10 9:42
mvePete O'Hanlon28-Oct-10 9:42 
GeneralRe: Automatic insertion of try catch block Pin
Dave Kreskowiak28-Oct-10 10:09
mveDave Kreskowiak28-Oct-10 10:09 
When I want the exception to bubble up to a higher level to be handled at a business process level where I can centralize problem logging and abort whatever transaction is going on at the time, which is most of the time.

Doing it your way would limit the exception to that function, where you'd have to throw a new exception to get it to go higher.

But, don't take my word for it. There's tons of articles on the subject: Google Results[^]

AnswerRe: Automatic insertion of try catch block Pin
Eddy Vluggen28-Oct-10 9:35
professionalEddy Vluggen28-Oct-10 9:35 
AnswerRe: Automatic insertion of try catch block Pin
Ravi Bhavnani28-Oct-10 18:49
professionalRavi Bhavnani28-Oct-10 18:49 
AnswerRe: Automatic insertion of try catch block Pin
abinmaths28-Oct-10 20:49
abinmaths28-Oct-10 20:49 
QuestionEdit already created custome Culture Info in C# Pin
Sunil G 328-Oct-10 1:16
Sunil G 328-Oct-10 1:16 
QuestionFTPWebRequest in c# using VPN Connection Pin
Member 378341528-Oct-10 0:16
Member 378341528-Oct-10 0:16 
AnswerMessage Closed Pin
28-Oct-10 1:21
stancrm28-Oct-10 1:21 
GeneralRe: FTPWebRequest in c# using VPN Connection Pin
Member 378341528-Oct-10 1:43
Member 378341528-Oct-10 1:43 
Questionto display the value in ModalpopExtender [modified] Pin
annie_bel27-Oct-10 23:42
annie_bel27-Oct-10 23:42 
AnswerRe: to display the value in ModalpopExtender Pin
Sue Denim28-Oct-10 2:04
Sue Denim28-Oct-10 2:04 
QuestionView blob files from SQL to a Picture Box in Windows form? Pin
ndeza27-Oct-10 22:05
ndeza27-Oct-10 22:05 
AnswerRe: View blob files from SQL to a Picture Box in Windows form? Pin
kadaoui el mehdi27-Oct-10 22:14
kadaoui el mehdi27-Oct-10 22:14 
QuestionCrystal Report Formating Pin
Nikhil Bhivgade27-Oct-10 21:41
professionalNikhil Bhivgade27-Oct-10 21:41 
Questionbutton text to image Pin
Tichaona J27-Oct-10 10:59
Tichaona J27-Oct-10 10:59 
AnswerRe: button text to image Pin
Luc Pattyn27-Oct-10 11:03
sitebuilderLuc Pattyn27-Oct-10 11:03 
GeneralRe: button text to image Pin
Dell.Simmons27-Oct-10 15:17
Dell.Simmons27-Oct-10 15:17 
GeneralRe: button text to image Pin
Luc Pattyn27-Oct-10 16:05
sitebuilderLuc Pattyn27-Oct-10 16:05 
GeneralRe: button text to image Pin
n.podbielski27-Oct-10 21:25
n.podbielski27-Oct-10 21:25 

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.