add exception handle for C* header