Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is try - catch block advisable? Pin
PIEBALDconsult23-Aug-13 16:20
mvePIEBALDconsult23-Aug-13 16:20 
AnswerRe: Is try - catch block advisable? Pin
Abhinav S23-Aug-13 16:44
Abhinav S23-Aug-13 16:44 
GeneralRe: Is try - catch block advisable? Pin
Eddy Vluggen24-Aug-13 0:55
professionalEddy Vluggen24-Aug-13 0:55 
GeneralRe: Is try - catch block advisable? Pin
OriginalGriff24-Aug-13 1:37
mveOriginalGriff24-Aug-13 1:37 
GeneralRe: Is try - catch block advisable? Pin
Eddy Vluggen24-Aug-13 2:34
professionalEddy Vluggen24-Aug-13 2:34 
GeneralRe: Is try - catch block advisable? Pin
OriginalGriff24-Aug-13 2:40
mveOriginalGriff24-Aug-13 2:40 
GeneralRe: Is try - catch block advisable? Pin
Eddy Vluggen24-Aug-13 7:18
professionalEddy Vluggen24-Aug-13 7:18 
GeneralRe: Is try - catch block advisable? Pin
jschell26-Aug-13 8:43
jschell26-Aug-13 8:43 
Eddy Vluggen wrote:
than having a lot of exceptions (and invalid states) that I don't know of.


Been writing servers for 15 years, high capacity ones for 10, and I have never seen that.

What I have seen are a lot of null pointer exceptions caused by programming adaptors in plugin architectures doing dynamic processing. Which means that the ALL transactions in flight would then fail simply because a one time data set caused a bug to show up.

And I can note that in most cases the adapter code was not written by me but the plugin architecture was.

I have seen catastrophic failures but they take the server down. And in that case catching the exceptions at least for the purpose of logging is critical.

Eddy Vluggen wrote:
I'd rather have them complain once and explain that it's a bug


I rather not have to explain anything when all the customers suffered some sort of failure due to something that could have been avoided.
GeneralRe: Is try - catch block advisable? Pin
OriginalGriff24-Aug-13 1:38
mveOriginalGriff24-Aug-13 1:38 
GeneralRe: Is try - catch block advisable? Pin
Abhinav S24-Aug-13 2:07
Abhinav S24-Aug-13 2:07 
GeneralRe: Is try - catch block advisable? Pin
Eddy Vluggen24-Aug-13 2:39
professionalEddy Vluggen24-Aug-13 2:39 
GeneralRe: Is try - catch block advisable? Pin
OriginalGriff24-Aug-13 2:43
mveOriginalGriff24-Aug-13 2:43 
GeneralRe: Is try - catch block advisable? Pin
Eddy Vluggen24-Aug-13 2:54
professionalEddy Vluggen24-Aug-13 2:54 
GeneralRe: Is try - catch block advisable? Pin
jschell26-Aug-13 8:53
jschell26-Aug-13 8:53 
AnswerRe: Is try - catch block advisable? Pin
Brian Holsen25-Aug-13 18:18
Brian Holsen25-Aug-13 18:18 
AnswerRe: Is try - catch block advisable? Pin
V.26-Aug-13 3:11
professionalV.26-Aug-13 3:11 
QuestionGet User Privileges in a machine for a specific user Pin
Rijz22-Aug-13 20:10
Rijz22-Aug-13 20:10 
AnswerRe: Get User Privileges in a machine for a specific user Pin
Richard MacCutchan22-Aug-13 21:00
mveRichard MacCutchan22-Aug-13 21:00 
QuestionIndexOf Question Pin
AnalogNerd22-Aug-13 5:16
AnalogNerd22-Aug-13 5:16 
AnswerRe: IndexOf Question Pin
fjdiewornncalwe22-Aug-13 5:25
professionalfjdiewornncalwe22-Aug-13 5:25 
GeneralRe: IndexOf Question Pin
AnalogNerd22-Aug-13 5:33
AnalogNerd22-Aug-13 5:33 
AnswerRe: IndexOf Question PinPopular
PIEBALDconsult22-Aug-13 5:49
mvePIEBALDconsult22-Aug-13 5:49 
GeneralRe: IndexOf Question Pin
AnalogNerd22-Aug-13 5:53
AnalogNerd22-Aug-13 5:53 
QuestionDataSet parse date "dd/mm/yyyy" Pin
juliogyn22-Aug-13 5:09
juliogyn22-Aug-13 5:09 
AnswerRe: DataSet parse date "dd/mm/yyyy" Pin
Eddy Vluggen22-Aug-13 6:08
professionalEddy Vluggen22-Aug-13 6:08 

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.