use Exception instead of Type to represent STL exception (logic_error, bad_alloc, etc)