Revision 681869

Go back to digest for 1st July 2007

Features in KDE-PIM

Matthias Lechner committed changes in /trunk/KDE/kdepim/kmobiletools/kmobiletools:

Adding a first error handling draft.

The idea is to define an error hierarchy by subclassing Error. To keep error handling simple, we should agree on a small list of error types and how to build the hierarchy.

To test the new error handler, just write "ErrorHandler::instance()->addError( new Error( __FILE__, __LINE__ ) );"

File Changes

Added 4 files
  • /trunk/KDE/kdepim/kmobiletools/kmobiletools/libkmobiletools
  •   /error.cpp
  •   /error.h
  •   /errorhandler.cpp
  •   /errorhandler.h
Modified 6 files
  • /trunk/KDE/kdepim/kmobiletools/kmobiletools
  •   /libkmobiletools/CMakeLists.txt
  •   /libkmobiletools/engine.cpp
  •   /libkmobiletools/engine.h
  •   /libkmobiletools/enginedata.cpp
  •   /libkmobiletools/enginedata.h
  •   /mainpart/devicehome.cpp
10 files changed in total