[fpc-pascal] Standard exceptions

Sven Barth pascaldragon at googlemail.com
Mon Feb 28 14:17:36 CET 2011


Am 28.02.2011 13:51, schrieb Michael Fuchs:
> Hello,
>
> while porting software from .NET to FreePascal I am looking for some
> exceptions for recurrent errors. For example:
>
> ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
>
> Is there a unit which defines those exceptions?

As far as I'm aware of: There are none.

There is ERangeError though (in SysUtils), but that's not an equivalent 
for ArgumentOutOfRangeException (I suppose that inherits from 
ArgumentException?).

Regards,
Sven



More information about the fpc-pascal mailing list