Closed daimoniuma closed 6 years ago
It's actually XposedHelpers.ClassNotFoundError
, not XposedHelpers.ClassNotFoundException
(which indeed doesn't exist). The difference is that Exceptions must be declared as throws
in the method (and must be caught by the caller), whereas Errors and RuntimeExceptions don't need to be declared, but can still optionally be caught.
Wow, it was autosuggestion from AIDE. Didn't notice that here is Exception instead of Error at the end. Sorry. And congrats with Nougat release. 🎉
How to catch it? AIDE writes error about unknown type. Is it same as system ClassNotFoundException?