[fpc-pascal] class constructor exception

Andrey Zubarev zamtmn at gmail.com
Tue Apr 23 09:32:56 CEST 2024


Hi,

Set ExceptProc to your handler in unit initialization section in unit
usesed before the problematic one?

On Tue, Apr 23, 2024 at 12:20 AM Mattias Gaertner via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:

> Hi,
>
> When an exception is raised in a class constructor the application
> aborts without any error.
>
> How can I get an error?
>
> Mattias
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20240423/c553413d/attachment.htm>


More information about the fpc-pascal mailing list