Click here to Skip to main content
15,891,706 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: User account rights [modified] Pin
marca29217-Jan-11 21:32
marca29217-Jan-11 21:32 
AnswerRe: User account rights Pin
Ravi Sant18-Jan-11 1:12
Ravi Sant18-Jan-11 1:12 
QuestionWhen to Define a Custom Exception Pin
Patrick Skelton13-Jan-11 23:57
Patrick Skelton13-Jan-11 23:57 
AnswerRe: When to Define a Custom Exception PinPopular
Pete O'Hanlon14-Jan-11 0:13
mvePete O'Hanlon14-Jan-11 0:13 
AnswerRe: When to Define a Custom Exception PinPopular
Eddy Vluggen14-Jan-11 0:42
professionalEddy Vluggen14-Jan-11 0:42 
AnswerRe: When to Define a Custom Exception PinPopular
Daniel Turini14-Jan-11 0:44
Daniel Turini14-Jan-11 0:44 
GeneralRe: When to Define a Custom Exception Pin
Dan Neely14-Jan-11 3:03
Dan Neely14-Jan-11 3:03 
GeneralRe: When to Define a Custom Exception Pin
Daniel Turini14-Jan-11 5:21
Daniel Turini14-Jan-11 5:21 
It's a very nice idea, but not always practical, and could lead to some inconsistencies. I learned the hard way to take a lot of care when deriving a class, and follow more rigidly LSP (Liskov Substitution Principle).
In the same example, EmptyAdressException cannot be derived from NullReferenceException, in the same way a Square cannot be derived from a Rectangle.
I see dead pixels
Yes, even I am blogging now!

GeneralRe: When to Define a Custom Exception Pin
Dan Neely14-Jan-11 5:28
Dan Neely14-Jan-11 5:28 
GeneralRe: When to Define a Custom Exception Pin
Daniel Turini14-Jan-11 6:17
Daniel Turini14-Jan-11 6:17 
GeneralRe: When to Define a Custom Exception Pin
Eddy Vluggen14-Jan-11 12:19
professionalEddy Vluggen14-Jan-11 12:19 
AnswerRe: When to Define a Custom Exception Pin
Aamir Butt14-Jan-11 0:58
Aamir Butt14-Jan-11 0:58 
AnswerRe: When to Define a Custom Exception PinPopular
Abhinav S14-Jan-11 1:08
Abhinav S14-Jan-11 1:08 
AnswerRe: When to Define a Custom Exception PinPopular
Gary Wheeler14-Jan-11 1:11
Gary Wheeler14-Jan-11 1:11 
AnswerRe: When to Define a Custom Exception Pin
#realJSOP14-Jan-11 1:35
mve#realJSOP14-Jan-11 1:35 
AnswerRe: When to Define a Custom Exception Pin
PIEBALDconsult14-Jan-11 2:05
mvePIEBALDconsult14-Jan-11 2:05 
AnswerRe: When to Define a Custom Exception Pin
Not Active14-Jan-11 2:36
mentorNot Active14-Jan-11 2:36 
GeneralRe: When to Define a Custom Exception Pin
#realJSOP14-Jan-11 2:53
mve#realJSOP14-Jan-11 2:53 
GeneralRe: When to Define a Custom Exception PinPopular
Not Active14-Jan-11 3:00
mentorNot Active14-Jan-11 3:00 
GeneralRe: When to Define a Custom Exception Pin
#realJSOP14-Jan-11 3:38
mve#realJSOP14-Jan-11 3:38 
GeneralRe: When to Define a Custom Exception Pin
Yusuf14-Jan-11 4:28
Yusuf14-Jan-11 4:28 
GeneralRe: When to Define a Custom Exception Pin
Eddy Vluggen14-Jan-11 11:54
professionalEddy Vluggen14-Jan-11 11:54 
GeneralRe: When to Define a Custom Exception Pin
Daniel Turini15-Jan-11 23:28
Daniel Turini15-Jan-11 23:28 
AnswerRe: When to Define a Custom Exception Pin
Single Step Debugger14-Jan-11 3:14
Single Step Debugger14-Jan-11 3:14 
AnswerRe: When to Define a Custom Exception Pin
HimanshuJoshi14-Jan-11 4:39
HimanshuJoshi14-Jan-11 4:39 

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.