Handling exceptions

It is possible to raise and catch exceptions in Eiffel. Catching exceptions is done by using the rescue keyword. The EXCEPTIONS class provides helper features to analyze the caught exception and handle it.

The EXCEPTIONS class also provides ways to raise exception, via its feature raise .

When an exception is raised while the application is being debugged, the application stops immediately and the debugger displays the context in which the exception occurred, whether or not the exception is rescued.

See Also:
Reference of exceptions

cached: 06/24/2024 11:58:52.000 PM