Delphi / Object Pascal · Exception
What does EAbort Exception mean in Delphi / Object Pascal?
The base class for 'silent' exceptions, raised by the Abort procedure to break out of one or more nested blocks without triggering the VCL's default error dialog. The default exception handler specifically skips the message box for any exception descended from EAbort.
The base class for 'silent' exceptions, raised by the Abort procedure to break out of one or more nested blocks without triggering the VCL's default error dialog. The default exception handler specifically skips the message box for any exception descended from EAbort.
Call Abort deliberately when an in-progress operation should be cancelled without alarming the user, remembering that it still unwinds the stack like any exception so try/finally cleanup along the way still runs. Don't confuse it with the lowercase abort() function, which terminates the process outright.