- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Handling Exception and use of CX_ROOT directly and subclasses
It is not advisable to use CX_ROOT directly and you would require using one of its direct subclasses. Also, the propagation depends upon the exception subclass hierarchy.
- Subclasses of CX_STATIC_CHECK – these do not propagate automatically. You will need to do the handling yourself or there will be a syntax error in the program.
- Subclasses of CX_DYNAMIC_CHECK – these do not require any handling. But the program that does not handle the exception will be aborted with these subclasses.
- Subclasses of CX_NO_CHECK – These will get propagated automatically if the exception is not handled.
- Related Articles
- Comparison of Exception Handling in C++ and Java
- Exception handling and object destruction in C++
- Exception handling in PowerShell
- Subclasses, Superclasses, and Inheritance
- C# Exception Handling Best Practices
- Exception Handling Basics in C++
- PHP Exception Handling with finally
- Importance of Proper Exception Handling in Java
- What is exception handling in Python?
- What is exception handling in C#?
- Exception Handling in C++ vs Java
- What is Exception Handling in PHP ?
- NodeJS - Exception Handling in Asynchronous Code
- NodeJS - Exception Handling in eventful Code
- NodeJS - Exception Handling in Synchronous Code

Advertisements