]> OCCT Git - occt.git/commit
Coding - Migrate from exception to local status flag for dead loop handling (#817)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Mon, 10 Nov 2025 21:17:26 +0000 (21:17 +0000)
committerGitHub <noreply@github.com>
Mon, 10 Nov 2025 21:17:26 +0000 (21:17 +0000)
commit49cf4baea638787eda4fa57283783eacf72f9c2f
tree6f178c01637277c9b089da47d7aa66c7dbc11957
parentf9f94b6e3643887c3daf1fcd96b4fe80a12efe59
Coding - Migrate from exception to local status flag for dead loop handling (#817)

- Transfer_ProcessForFinder_0.cxx: Replace exception throw/catch with
  local status flag in Transferring() method
- Transfer_ProcessForTransient_0.cxx: Same changes for consistency
- Transfer_TransferDeadLoop.hxx: Mark exception class as deprecated with
  Standard_DEPRECATED attribute

The Transfer_TransferDeadLoop class is kept alive but marked as deprecated
for backward compatibility. Dead loop detection is now handled via local
status flags instead of exceptions, improving performance and code clarity.
src/DataExchange/TKXSBase/Transfer/Transfer_ProcessForFinder_0.cxx
src/DataExchange/TKXSBase/Transfer/Transfer_ProcessForTransient_0.cxx
src/DataExchange/TKXSBase/Transfer/Transfer_TransferDeadLoop.hxx