Exception Handling in C++
Exceptions are the most popular form of error handling and the try-catch block is superior to all other error handling mechanisms because it forces the invoking function to manage the errors. In this course learn how exceptions are thrown and caught. Next practice creating and using custom exception objects and discover why exceptions must be caught by reference. Finally explore object slicing results the semantics and limitations of the noexcept keyword and the pitfalls of exceptions that occur within constructors. Upon completion youll be able to correctly throw and handle exceptions using try/catch blocks enumerate semantics and limitations of the noexcept keyword and mitigate problems related to exceptions thrown during the construction of an object.