Click here to Skip to main content
15,905,508 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: Sometimes you have to be explicit its a joke or else... Pin
dandy722-Jun-18 3:54
dandy722-Jun-18 3:54 
GeneralRe: Sometimes you have to be explicit its a joke or else... Pin
kmoorevs2-Jun-18 5:10
kmoorevs2-Jun-18 5:10 
GeneralCustom Exceptions Pin
RandyBuchholz1-Jun-18 8:51
RandyBuchholz1-Jun-18 8:51 
GeneralRe: Custom Exceptions Pin
PIEBALDconsult1-Jun-18 9:28
mvePIEBALDconsult1-Jun-18 9:28 
GeneralRe: Custom Exceptions Pin
Eric Lynch1-Jun-18 9:38
Eric Lynch1-Jun-18 9:38 
GeneralRe: Custom Exceptions Pin
OriginalGriff1-Jun-18 10:48
mveOriginalGriff1-Jun-18 10:48 
GeneralRe: Custom Exceptions Pin
Ravi Bhavnani1-Jun-18 10:50
professionalRavi Bhavnani1-Jun-18 10:50 
GeneralRe: Custom Exceptions Pin
Marc Clifton1-Jun-18 10:52
mvaMarc Clifton1-Jun-18 10:52 
RandyBuchholz wrote:
By how they look, I mean do you keep them basic and mostly use message, or do you do things like populate data?


What OG said. I never populate the exception with data - if useful data is associated with an exception, it gets written out to an error file / table / email / other logging mechanism, by the handler of the exception, never the invoker.
Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Custom Exceptions Pin
Eric Lynch1-Jun-18 15:21
Eric Lynch1-Jun-18 15:21 
GeneralRe: Custom Exceptions Pin
Jörgen Andersson2-Jun-18 5:59
professionalJörgen Andersson2-Jun-18 5:59 
GeneralRe: Custom Exceptions Pin
lopatir1-Jun-18 17:32
lopatir1-Jun-18 17:32 
GeneralRe: Custom Exceptions Pin
Eddy Vluggen2-Jun-18 1:43
professionalEddy Vluggen2-Jun-18 1:43 
GeneralRe: Custom Exceptions Pin
Kornfeld Eliyahu Peter2-Jun-18 10:27
professionalKornfeld Eliyahu Peter2-Jun-18 10:27 
GeneralScamming The Scammer PinPopular
Alan Burkhart1-Jun-18 6:57
Alan Burkhart1-Jun-18 6:57 
PraiseRe: Scamming The Scammer Pin
User 110609791-Jun-18 7:24
User 110609791-Jun-18 7:24 
GeneralRe: Scamming The Scammer Pin
Alan Burkhart1-Jun-18 8:49
Alan Burkhart1-Jun-18 8:49 
GeneralRe: Scamming The Scammer Pin
OriginalGriff1-Jun-18 8:03
mveOriginalGriff1-Jun-18 8:03 
GeneralRe: Scamming The Scammer Pin
Alan Burkhart1-Jun-18 8:33
Alan Burkhart1-Jun-18 8:33 
GeneralRe: Scamming The Scammer Pin
Alan Burkhart1-Jun-18 9:03
Alan Burkhart1-Jun-18 9:03 
GeneralRe: Scamming The Scammer Pin
Eric Lynch1-Jun-18 8:33
Eric Lynch1-Jun-18 8:33 
GeneralRe: Scamming The Scammer Pin
RandyBuchholz1-Jun-18 8:55
RandyBuchholz1-Jun-18 8:55 
GeneralRe: Scamming The Scammer Pin
Mycroft Holmes1-Jun-18 13:16
professionalMycroft Holmes1-Jun-18 13:16 
GeneralRe: Scamming The Scammer Pin
Mike Hankey1-Jun-18 9:00
mveMike Hankey1-Jun-18 9:00 
GeneralRe: Scamming The Scammer Pin
dandy721-Jun-18 9:45
dandy721-Jun-18 9:45 
GeneralRe: Scamming The Scammer Pin
Alan Burkhart1-Jun-18 12:58
Alan Burkhart1-Jun-18 12:58 

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.