Skip to content

Improve Azure App Configuration error handling #196

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MouhsinElmajdouby
Copy link
Member

Fixes: #195

When a required Azure App Configuration parameter is missing or the URL is invalid, the driver previously threw unclear runtime exceptions. This update now detects missing or malformed parameters early and throws a concise SQLException indicating the bad configuration. A new unit test verifies that an empty or invalid URL fails fast with the expected SQLException.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 18, 2025
Copy link
Member

@fmeheust fmeheust left a comment

Choose a reason for hiding this comment

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

If you are sure that there isn't an exception other than UncheckedIOException and AzureException that needs to be caught, the PR looks ok to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

THE EXCEPTION MESSAGE OF OJDBC-PROVIDER-AZURE IS NOT USEFUL INCASE OF INVALID OR MISSING PARAMETER
2 participants