Angelika Langer - Training & Consulting

 
HOME | SEMINARS | TALKS | ARTICLES | BOOKS | LINKS | IOSTREAMS | GENERICS | ABOUT | NEWSLETTER | CONTACT | SITEMAP
C++ Exception Handling

Course Curriculum Angelika LangerCourse Curriculum Angelika Langer  
HOME

SEMINARS
  GENERAL INFO
  SCHEDULE
  REGISTRATION
  
  JAVA
    EFFECTIVE JAVA
    CONCURRENCY
    PERFORMANCE
    JAVA 5.0 
    GENERICS
    JAVA 1.3 => 6.0
    JAVA FOR C++
    JAVA INTRO

  C++
    RELIABLE C++
    EFFECTIVE STL
    TEMPLATES
    EXCEPTIONS
    IOSTREAMS
    C++ FOR C
    C++ FOR JAVA
    C++ INTRO   
 

TALKS
ARTICLES 
BOOKS 
LINKS 
IOSTREAMS 
GENERICS 
ABOUT 
NEWSLETTER 
CONTACT 
SITEMAP 
C++ Exception Handling
COURSE DESCRIPTION  

Exception handling is the standard technique for indicating and handling errors in C++ programs. It provides a uniform way of reporting errors and makes up for several weaknesses of traditional error reporting techniques, but it also adds a whole new dimension of programming techniques to C++.

Are your programs exception safe? Raising exceptions is easy, but coping with exceptions raised by functions you invoke is challenging. Do your functions work reliably and predictably in presence of exceptions? What level of saefty guarantee do your functions give? 

Today, only few programmers are capable of exploiting the full power of exception handling  in C++. If you need  to stay ahead of your time,  keep your knowledge above average, and want to know everything about the latest progamming techniques in C++, then this is the right course for you.

The course is designed and conducted by Angelika Langer and backed by years of experience in teaching  C++ related topics and more than a decade of real-world experience in industrial software development. Angelika Langer works as an independent trainer/consultant in the area of object-oriented software development in C++ and Java. She is member of the ANSI C++ standards committee since 1993, columnist of C++ Report, and a recognized speaker at OO conferences. 

 
Prerequisite Courses and Skills: Introductory C++ course, or equivalent experience 

One year of programming experience using C++

Duration: 1 day
Exercises: Workshops and hands-on labs 

 

PERFORMANCE OBJECTIVES
Catch up on the language standard
Know which language constructs raise exceptions
Use exceptions for error indication
Know how to cope with exceptions
Understand exception safety issues
Know how to terminate your application
Cope with uncaught exceptions
Know how to use exceptions specifications

BUSINESS OBJECTIVES
Equip your software professional with state-of-the-art C++ skills 
Increase the reliabiity of your C++ programs
Keep your software flexible and maintainable
Build high-quality products
 

COURSE OVERVIEW

Language Features
  • Throwing exceptions
    • Stack snwinding
    • Implicit destructor calls
    • Grouping of exceptions in hierarchies
    • A Copy of the exception object is thrown
  • Catching and handling exceptions
    • Handler sequences
    • Order of catch clauses
    • Catch-all clause
    • Throw vs. re-throw 
    • Catch by reference
    • Function try block
Programming With Exceptions
  • Resource management
    • Resource acquisition is initialization idiom 
    • auto_ptr and other smart pointers
    • Scope guards
    • Exceptions in constructors
    • Exceptions in destructors 
  • Exception hiding 
  • Exception safety
    • Statement rearrangement 
    • Pessimistic programming
    • Canonical exception-safe copy assignment
Design of Exception Types
  • Standard exceptions
  • Designing exception hierarchies
  • Firewalls & legacy code
More Language Features
  • Uncaught exceptions 
    • terminate(), uncaught-handler & set_terminate()
    • Program termination & stack unwinding
    • The uncaught_exception() function
  • Exception specifications & unexpected exceptions 
    • Language features
    • Guidelines 
    • The unexpected-handler
    • Callbacks
The Cost of Exception Handling
  • Space and Run-Time Overhead in Principle
  • The Static Model
  • The Dynamic Model

 

 
 
TRAINING LOCATIONS

Open Enrollment
Public courses are conducted in collaboration with partner companies worldwide. Presentation language is English or German, depending on the location. For further information go to GENERAL INFO.
On-Site Training
Courses can be held at your company site. Duration and content will be tailored to your specific needs and prerequisites. Presentation language is English or German.  For further information go to GENERAL INFO.
For information regarding training locations and the current schedule of public courses go to SCHEDULE. For further information or enrollment send me EMAIL or use the REGISTRATION form.
Schedule
To check for availability, price and other details send me EMAIL or use the REGISTRATION form.

 
© Copyright 1995-2008 by Angelika Langer.  All Rights Reserved.    URL: < http://www.AngelikaLanger.com/Courses/ExceptionHandling.htm  last update: 7 Jan 2008