GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 353 of 436    Print  
Where are custom exceptions derived from?

  
Total Answers and Comments: 3 Last Update: May 02, 2008     Asked by: oclaros1 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 31, 2006 02:49:48   #1  
roc        

RE: Where are custom exceptions derived from?
System.Exception class...MyException : System.Exception
 
Is this answer useful? Yes | No
September 23, 2006 02:16:35   #2  
FrankBirch Member Since: September 2006   Contribution: 1    

RE: Where are custom exceptions derived from?
SystemException and ApplicationException are both derrived from Exception.SystemException is the predefined base class for exceptions that originate from theSystem namespace.ApplicationException is the class intended as a base for any application specificexceptions that it is decided need to be defined.If you want to define your own exceptions for your own specific applicationthen it is considered good practice to derrive your own exception class fromApplicationExceptionpublic class CustomException : ApplicationException ....
 
Is this answer useful? Yes | No
May 02, 2008 14:53:50   #3  
annalipa Member Since: April 2008   Contribution: 3    

RE: Where are custom exceptions derived from?
System.ApplicationExeption
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape