added exceptions_api.h