【NDK系列】c++ 异常 try { test1(); } catch (const char *m) { cout << m << endl; } //自定义 class MyException : public exception { public: virtual char const* what() const { return "myexception"; } };