gecko/mobile/android/base/mozglue/generatorannotations
Jim Chen 1885b24ceb Bug 958706 - Add ThrowException and HandleUncaughtException methods to AndroidBridge; r=blassey
ThrowException throws a new exception with the appropriate message, meant for native JNI methods that return to Java code (i.e. methods in AndroidJNI.cpp).

HandleUncaughtException will be called by the generated JNI stubs that C++ code uses. HandleUncaughtException calls the new GeckoAppShell.handleUncaughtException method, which behaves exactly like the normal uncaught exception handler (annotates the crash report and crashes). GeckoAppShell.handleUncaughtException has the noThrow annotation that will be seen by the generated code; as a result, its generated stub will not call HandleUncaughtException and result in a loop.
2014-01-17 23:32:24 -06:00
..
GeneratorOptions.java Bug 913985: Part 1 - Introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats 2013-11-12 10:40:59 -08:00
OptionalGeneratedParameter.java Bug 913985: Part 1 - Introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats 2013-11-12 10:40:59 -08:00
WrapElementForJNI.java Bug 958706 - Add ThrowException and HandleUncaughtException methods to AndroidBridge; r=blassey 2014-01-17 23:32:24 -06:00
WrapEntireClassForJNI.java Bug 913985: Part 1 - Introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats 2013-11-12 10:40:59 -08:00