[Java] Normalize exceptions to AdbcException subclasses
Open
Type: enhancement
- Dominant language
- C#
- Stars
- 627
- Forks
- 217
- Avg merge
- 17h
- Merged PRs (30d)
- 57
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.