Error handling inside or out of class?

Posted by Rin on Stack Overflow See other posts from Stack Overflow or by Rin
Published on 2009-11-28T18:38:00Z Indexed on 2010/04/16 15:53 UTC
Read the original article Hit count: 244

Usually I do all what I can inside a class, in every method (try and catch). Am I doing it wrong? Recently I heard better way is handle error in program body...

What is good habit?

© Stack Overflow or respective owner

Related posts about design-patterns

Related posts about errors