Skip to content

Create native exception hierarchy and simplify handling#1437

Merged
jasonkatonica merged 2 commits into
IBM:java11from
KostasTsiounis:native_exception_j11
May 13, 2026
Merged

Create native exception hierarchy and simplify handling#1437
jasonkatonica merged 2 commits into
IBM:java11from
KostasTsiounis:native_exception_j11

Conversation

@KostasTsiounis

Copy link
Copy Markdown
Member

A new native exception hierarchy is created to include a NativeException superclass. This will allow for different native exception subclassses thrown by different native libraries.

The try-catch blocks were also simplified to improve readability.

Back-ported from: #1412

Signed-off-by: Kostas Tsiounis kostas.tsiounis@ibm.com

A new native exception hierarchy is created to include a NativeException
superclass. This will allow for different native exception subclassses
thrown by different native libraries.

The try-catch blocks were also simplified to improve readability.

Signed-off-by: Kostas Tsiounis <kostas.tsiounis@ibm.com>

@taoliult taoliult left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasonkatonica jasonkatonica left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasonkatonica jasonkatonica merged commit a43d3c7 into IBM:java11 May 13, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants