Intel® Fortran Compiler 17.0 Developer Guide and Reference

General Default Exception Handling

The Intel® Visual Fortran run-time system provides minimal default support for exception handling, console event handling, and application termination rundown.

The default exception handling support provided depends on the type of application (project type) being developed:

When you use the default exception handler, all events are enabled. You cannot connect or disconnect individual events from the default Fortran exception handler. However, you can disable the Fortran exception handler, and enable your own. To disable the exception handler, set the FOR_IGNORE_EXCEPTIONS environment variable to TRUE.

Most exceptions captured by the Intel® Visual Fortran default handler are dealt with as severe errors. When an exception occurs, the Fortran run-time system will display an error message and traceback output as described in Understanding Run-Time Errors. A run-time error with a severe error (as described in Run-Time Message Display and Format) causes the Intel® Visual Fortran run-time system to terminate the application. Most I/O programming errors are also severe and will terminate an application.

I/O programming errors are not exceptions and cannot be caught by an exception handler. An unhandled I/O programming error is reported through a different mechanism in the Intel® Visual Fortran run-time system. Regardless of the application (project) type, unhandled I/O programming error will generate an error message and traceback output.

See Also