Click here to Skip to main content
15,885,366 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.

 
GeneralRAD Basic Pin
TNCaver10-May-22 4:08
TNCaver10-May-22 4:08 
GeneralRe: RAD Basic Pin
OriginalGriff10-May-22 4:22
mveOriginalGriff10-May-22 4:22 
GeneralRe: RAD Basic Pin
TNCaver10-May-22 5:34
TNCaver10-May-22 5:34 
GeneralRe: RAD Basic Pin
OriginalGriff10-May-22 5:49
mveOriginalGriff10-May-22 5:49 
GeneralRe: RAD Basic Pin
obermd10-May-22 9:14
obermd10-May-22 9:14 
GeneralRe: RAD Basic Pin
TNCaver11-May-22 3:05
TNCaver11-May-22 3:05 
GeneralRe: RAD Basic Pin
trønderen11-May-22 12:26
trønderen11-May-22 12:26 
GeneralRe: RAD Basic Pin
Slacker00710-May-22 6:28
professionalSlacker00710-May-22 6:28 
OriginalGriff wrote:
It discards errors with no hope of telling if they ever occured,

What I do in this scenario is create a ResponseDto object and add a List<exception> to it so that all my methods return that Dto object with any exceptions. That way you can handle the exception at the top of the call stack.

My preference is to only use Try/Catch in the UI/front end if possible and not in the middle tier or supporting code libraries.
GeneralRe: RAD Basic Pin
obermd10-May-22 9:13
obermd10-May-22 9:13 
GeneralRe: RAD Basic Pin
Dave Kreskowiak10-May-22 6:00
mveDave Kreskowiak10-May-22 6:00 
GeneralRe: RAD Basic Pin
obermd10-May-22 9:15
obermd10-May-22 9:15 
GeneralRe: RAD Basic Pin
Roland M Smith10-May-22 9:21
Roland M Smith10-May-22 9:21 
GeneralRe: RAD Basic Pin
Mycroft Holmes10-May-22 12:32
professionalMycroft Holmes10-May-22 12:32 
GeneralRe: RAD Basic Pin
jeron110-May-22 12:39
jeron110-May-22 12:39 
GeneralRe: RAD Basic Pin
Gary R. Wheeler10-May-22 14:22
Gary R. Wheeler10-May-22 14:22 
GeneralRe: RAD Basic Pin
TNCaver11-May-22 3:02
TNCaver11-May-22 3:02 
GeneralRe: RAD Basic Pin
kmoorevs11-May-22 4:05
kmoorevs11-May-22 4:05 
GeneralRe: RAD Basic Pin
TNCaver11-May-22 11:10
TNCaver11-May-22 11:10 
GeneralCCC 10-05-2022 Pin
pkfox9-May-22 21:36
professionalpkfox9-May-22 21:36 
GeneralRe: CCC 10-05-2022 Pin
OriginalGriff9-May-22 21:56
mveOriginalGriff9-May-22 21:56 
GeneralRe: CCC 10-05-2022 Pin
pkfox9-May-22 22:16
professionalpkfox9-May-22 22:16 
GeneralRe: CCC 10-05-2022 Pin
Kornfeld Eliyahu Peter9-May-22 22:01
professionalKornfeld Eliyahu Peter9-May-22 22:01 
GeneralRe: CCC 10-05-2022 Pin
OriginalGriff9-May-22 22:16
mveOriginalGriff9-May-22 22:16 
GeneralRe: CCC 10-05-2022 Pin
Vivi Chellappa9-May-22 23:30
professionalVivi Chellappa9-May-22 23:30 
GeneralRe: CCC 10-05-2022 Pin
OriginalGriff10-May-22 1:08
mveOriginalGriff10-May-22 1: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.