Click here to Skip to main content
15,886,919 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The Exception to the Exception Pin
Marc Clifton16-Feb-23 5:36
mvaMarc Clifton16-Feb-23 5:36 
GeneralRe: The Exception to the Exception Pin
PIEBALDconsult16-Feb-23 6:33
mvePIEBALDconsult16-Feb-23 6:33 
GeneralRe: The Exception to the Exception Pin
Peter Kelley 202117-Feb-23 2:06
Peter Kelley 202117-Feb-23 2:06 
GeneralRe: The Exception to the Exception Pin
jschell17-Feb-23 10:02
jschell17-Feb-23 10:02 
GeneralRe: The Exception to the Exception Pin
jmaida16-Feb-23 13:41
jmaida16-Feb-23 13:41 
GeneralRe: The Exception to the Exception Pin
PIEBALDconsult16-Feb-23 6:31
mvePIEBALDconsult16-Feb-23 6:31 
GeneralRe: The Exception to the Exception Pin
Peter Adam16-Feb-23 23:42
professionalPeter Adam16-Feb-23 23:42 
GeneralRe: The Exception to the Exception Pin
jschell16-Feb-23 7:26
jschell16-Feb-23 7:26 
nepdev wrote:
I am tired of tutorials and senior programmers which "explain" that exceptions should never be handled in lower level code.


Your sources are flawed.

nepdev wrote:
So - catch the exception, add row and column info and then re-throw


However that example would certainly not seem like a good way to prove your point.

Especially since you are said "millions" of rows and that you know that you expect some of the data to be flawed.

It would seem to me that you would want to continue. So you report the bad row and then continue. No exception should be thrown.

As well you might even to decide to attempt to clean some bad data. Especially after looking at the prior reported problems.
GeneralRe: The Exception to the Exception Pin
Gerry Schmitz16-Feb-23 8:02
mveGerry Schmitz16-Feb-23 8:02 
GeneralRe: The Exception to the Exception Pin
BillWoodruff16-Feb-23 19:43
professionalBillWoodruff16-Feb-23 19:43 
GeneralRe: The Exception to the Exception Pin
maze316-Feb-23 23:28
professionalmaze316-Feb-23 23:28 
GeneralRe: The Exception to the Exception Pin
Davyd McColl17-Feb-23 6:51
Davyd McColl17-Feb-23 6:51 
GeneralRe: The Exception to the Exception Pin
englebart18-Feb-23 4:05
professionalenglebart18-Feb-23 4:05 
GeneralRe: The Exception to the Exception Pin
Cpichols20-Feb-23 1:33
Cpichols20-Feb-23 1:33 
GeneralRe: The Exception to the Exception Pin
atverweij20-Feb-23 2:44
atverweij20-Feb-23 2:44 
GeneralWSO CCC OTD 2023-02-16 Pin
OriginalGriff15-Feb-23 21:40
mveOriginalGriff15-Feb-23 21:40 
GeneralRe: WSO CCC OTD 2023-02-16 Pin
pkfox15-Feb-23 22:34
professionalpkfox15-Feb-23 22:34 
GeneralRe: WSO CCC OTD 2023-02-16 Pin
OriginalGriff15-Feb-23 22:48
mveOriginalGriff15-Feb-23 22:48 
GeneralRe: WSO CCC OTD 2023-02-16 Pin
pkfox15-Feb-23 22:50
professionalpkfox15-Feb-23 22:50 
GeneralRe: WSO CCC OTD 2023-02-16 Pin
DerekT-P16-Feb-23 1:22
professionalDerekT-P16-Feb-23 1:22 
GeneralRe: WSO CCC OTD 2023-02-16 - we have a winner! Pin
OriginalGriff16-Feb-23 1:38
mveOriginalGriff16-Feb-23 1:38 
GeneralRe: WSO CCC OTD 2023-02-16 - we have a winner! Pin
DerekT-P16-Feb-23 1:51
professionalDerekT-P16-Feb-23 1:51 
GeneralOh dear. Bing has been reading reddit again ... Pin
OriginalGriff15-Feb-23 19:57
mveOriginalGriff15-Feb-23 19:57 
GeneralRe: Oh dear. Bing has been reading reddit again ... Pin
Slacker00716-Feb-23 0:00
professionalSlacker00716-Feb-23 0:00 
GeneralRe: Oh dear. Bing has been reading reddit again ... Pin
Paul612416-Feb-23 3:36
Paul612416-Feb-23 3:36 

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.