If you just donβt want to show the exception box, go to:
Tools / Options / Debugger Settings / Language Exceptions and Disable CheckBox Notify about language exceptions . This is not valid for Delphi 2010.
(I donβt remember if this is the same CheckBox in Delphi 7).
EDIT: In some cases, exceptions are inevitable, especially when we work with unknown files from the Internet. So, I believe your exceptions are handled properly under Indy, just turn off Notify me of language exceptions
source share