Exceptions
The Exceptions component lists all exceptions raised by any OCCT function.
Each exception inherits from Standard_Failure either directly or by inheriting from another exception.
Exceptions describe anomalies which can occur during the execution of a method. With the raising of an exception, the normal course of program execution is abandoned. The execution of actions in response to this situation is called the treatment of the exception.
The methods try & catch are redefined in OCCT to work properly on any platform. Nevertheless they call native mechanisms each time it is possible. The only reason not to use native exceptions is that they may not work properly on some compilers. In this case, a specific OCCT code is used instead.
See Also
Collections component, Standard package
Collections of Standard Objects component, TColStd package
Strings component