]> OCCT Git - occt.git/commit
Coding - Reducing relying on exceptions (#676)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sat, 16 Aug 2025 12:55:33 +0000 (13:55 +0100)
committerGitHub <noreply@github.com>
Sat, 16 Aug 2025 12:55:33 +0000 (13:55 +0100)
commitd1b00bf1321bd01d499730b0e2ba1b0d2aec3474
tree23b5286d969c4d196f26aee5c92158a9afe6e40c
parenta50e3c94eac6e2a662802572f3fdad02ec9d2aa6
Coding - Reducing relying on exceptions (#676)

- Replaced try-catch blocks with explicit validation checks in PCDM_ReadWriter_1.cxx
- Added division-by-zero protection in XSDRAWSTL.cxx using precision-based comparison
- Improved error handling for integer parsing operations
src/ApplicationFramework/TKCDF/PCDM/PCDM_ReadWriter_1.cxx
src/Draw/TKXSDRAWSTL/XSDRAWSTL/XSDRAWSTL.cxx