try..catch is for C++, Delphi uses try..except instead: docwiki.embarcadero.com/RADStudio/en/Exceptions_(Delphi) That being said, what is the actual problem you are having with catching the exception? Indy's exceptions work like any other library's exceptions, there is nothing magic about them. Catching exceptions is a fundamental skill any Delphi dev should know. So please show the actual code you are having trouble with.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
try..catch
is for C++, Delphi usestry..except
instead: docwiki.embarcadero.com/RADStudio/en/Exceptions_(Delphi) That being said, what is the actual problem you are having with catching the exception? Indy's exceptions work like any other library's exceptions, there is nothing magic about them. Catching exceptions is a fundamental skill any Delphi dev should know. So please show the actual code you are having trouble with.sslvTLSv3
, I assume you meantsslvSSLv3
instead.