Class NativeMethodNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.robolectric.sandbox.NativeMethodNotFoundException
All Implemented Interfaces:
Serializable

public class NativeMethodNotFoundException extends RuntimeException
Thrown when a particular Robolectric native method cannot be found.

Instrumented native methods throw this exception when the NativeCallHandler is set to throw-on-native and that the dedicated method signature has not been exempted.

See Also:
  • Constructor Details

    • NativeMethodNotFoundException

      public NativeMethodNotFoundException()
    • NativeMethodNotFoundException

      public NativeMethodNotFoundException(String message)