removed c++ exception handling link dependency