Skip to content

Create native exception hierarchy and simplify handling#1436

Open
KostasTsiounis wants to merge 1 commit intoIBM:java17from
KostasTsiounis:native_exception_j17
Open

Create native exception hierarchy and simplify handling#1436
KostasTsiounis wants to merge 1 commit intoIBM:java17from
KostasTsiounis:native_exception_j17

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>
Copy link
Copy Markdown
Collaborator

@taoliult taoliult left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants