Changing error handling.
Changed logging (nested exception is now logged as well). Implementation will probably change in the near future.
Authored by: keess 2003-11-13
Parent: [r829]
Child: [r831]