JniLookupError class

Thrown when a class, method or field cannot be resolved.

Carries the JNI name that was looked up so the message points at the exact descriptor that failed, which is almost always a typo in a signature string.

Inheritance

Constructors

JniLookupError(String kind, String name, [String? signature])

Properties

hashCode int
The hash code for this object.
no setterinherited
kind String
What was being looked up: class, method, static method, field or static field.
final
message String
finalinherited
name String
The JNI name of the member or class.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String?
The JNI type signature, when the lookup involved one.
final
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited