Skip to content

Support throwing Java exceptions in interface implementation #1209

Closed
@HosseinYousefi

Description

@HosseinYousefi

Another thing that users might want to do is throw actual Java exceptions. This seems to be useful actually, and we could use the same Dart throw keyword to achieve this by checking if the exception thrown is of type JException.

Metadata

Metadata

Assignees

Labels

contributions-welcomeContributions welcome to help resolve this (the resolution is expected to be clear from the issue)package:jnipackage:jnigen

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions