| 62 | } |
| 63 | |
| 64 | std::string JavaException::getMessage() const { |
| 65 | auto message = JavaCache::get().getThrowableGetMessageMethod().call(getUnsafeObject()); |
| 66 | if (message.isNull()) { |
| 67 | return ""; |
| 68 | } |
| 69 | |
| 70 | return toStdString(JavaEnv(), message); |
| 71 | } |
| 72 | |
| 73 | } // namespace ValdiAndroid |
nothing calls this directly
no test coverage detected