C# Programming - Exception Handling - Discussion
Discussion Forum : Exception Handling - General Questions (Q.No. 18)
18.
It is compulsory for all classes whose objects can be thrown with throw statement to be derived from System.Exception class.
Discussion:
4 comments Page 1 of 1.
Zak said:
1 decade ago
User-defined exception classes are derived from the Application Exception class.
Angel said:
1 decade ago
System Exception and Application Exception are derived from Exception.
Sachin hinge said:
10 years ago
CLR throw the exception at run time.
CLR provide this facility because CLR check which type of exception is occur that time magic class created instance means using CLR and then exception is occur then the throw exception.
CLR provide this facility because CLR check which type of exception is occur that time magic class created instance means using CLR and then exception is occur then the throw exception.
Matthew said:
9 years ago
" The thrown exception is an object whose class is derived from System.Exception".
So the answer is clearly True, not False.
So the answer is clearly True, not False.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers