Skip to content

[Java] Normalize exceptions to AdbcException subclasses #2237

Open
@laurentgo

Description

@laurentgo

What feature or improvement would you like to see?

Although most Adbc methods throws AdbcException, there are several places in ADBC interfaces where methods throws Exception (notably for close() methods) or IOException. Similar to JDBC API, all exceptions should be normalized around AdbcException to make API consistent.

It would be an incompatible API change though. When updating methods from Exception to AdbcException, this would be a source incompatible change but a binary compatible one. However when changing from IOException to AdbcException, it would be a source and binary incompatible change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions