Skip to content

fix: handle CardTerminalException in PcscReaderAdapter error handling - #12

Closed
jeanpierrefortune wants to merge 18 commits into
develop-2.5.2from
fix-exception
Closed

fix: handle CardTerminalException in PcscReaderAdapter error handling#12
jeanpierrefortune wants to merge 18 commits into
develop-2.5.2from
fix-exception

Conversation

@jeanpierrefortune

Copy link
Copy Markdown
Contributor

No description provided.

… and CardChannel

- Ensure `rgReaderStates` is properly initialized in `isCardPresent`.
- Add exception handling for `SCardGetStatusChange` failure in `CardTerminal`.
- Replace `CardTerminalException` with `CardException` in `CardChannel` for error consistency.
- Introduce handling for `CardTerminalException` in `PcscReaderAdapter`.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@jeanpierrefortune
jeanpierrefortune deleted the fix-exception branch October 22, 2025 07:08
@jeanpierrefortune
jeanpierrefortune restored the fix-exception branch October 22, 2025 07:08
@jeanpierrefortune
jeanpierrefortune deleted the fix-exception branch October 22, 2025 07:56
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