Skip to content

Create native exception hierarchy and simplify handling#1433

Merged
jasonkatonica merged 1 commit into
IBM:java26from
KostasTsiounis:native_exception_j26
May 13, 2026
Merged

Create native exception hierarchy and simplify handling#1433
jasonkatonica merged 1 commit into
IBM:java26from
KostasTsiounis:native_exception_j26

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 c5cef7c into IBM:java26 May 13, 2026
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