Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(java): Standardize core exceptions to AdbcException #2247

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 14, 2024

  1. feat(java): Standardize core exceptions to AdbcException

    ADBC base classes/interfaces are not consistent in using `AdbcException`
    for all their methods (sometimes `Exception` or `IOException` are used).
    
    Introduces `AdbcCloseable` which is a subinterface of `AutoCloseable`
    throwing `AdbcException` instead of `Exception` and replace usage of
    `AutoCloseable` in core interfaces with `AdbcCloseable`
    
    Also replaces use of `IOException` in `QueryResult` with
    `AdbcException`.
    
    Fixes apache#2237
    laurentgo committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    841708e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd6092e View commit details
    Browse the repository at this point in the history