Skip to content

Rework exceptions #806

Closed
Closed
@mahesh-hegde

Description

@mahesh-hegde
  • Currently an exception raised in JNI, when caught by utility methods in jni_object.dart, does not print the java stack trace. Ideally it should provide a method to print stack trace to stderr.

  • We need to raise a detailed exception when a double-free is attempted on a wrapped JNI reference, with details of object and the JNI pointer.

  • Currently I am throwing raw strings as exceptions, create few exception classes for more clarity.

Grouping these under same issue and assigning to myself.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions