The basics of Python's exception handling apply to the
Abaqus Scripting Interface.
Python's exception handling is described in
Error handling.
If certain circumstances arise while a script is running, Python allows you to
take the necessary action and still allows the script to continue.
Alternatively, when
Abaqus/CAE
issues (or throws) an exception and the exception is not handled
by the script,
Abaqus/CAE
displays the exception message in the message area and the script stops
executing.