| 头: | #include <QAndroidJniExceptionCleaner> |
| qmake: | QT += androidextras |
| Since: | Qt 5.10 |
| enum | OutputMode { Silent, Verbose } |
| QAndroidJniExceptionCleaner (QAndroidJniExceptionCleaner::OutputMode outputMode = ...) | |
| ~QAndroidJniExceptionCleaner () | |
| void | clean () |
The QAndroidJniExceptionCleaner is a convenience class useful to clean the pending JNI exceptions from the current scope.
| 常量 | 值 | 描述 |
|---|---|---|
QAndroidJniExceptionCleaner::Silent
|
0
|
the exceptions are cleaned silently |
QAndroidJniExceptionCleaner::Verbose
|
1
|
discribes the exceptions before cleaning them |
Cleans any pending exceptions either silently or with descriptions, depending on the outputMode .
清理任何待决异常。
手动清理任何待决异常