prepare for advanced exception management
refactored catch_exceptions
completetd first part of the new exceptions framework