On Mon, 28 Feb 2011, Michael Fuchs wrote:
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?
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
Am 28.02.2011 14:17, schrieb Sven Barth:
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?).
Yes,and all Argument..Exceptions have a property
On Mon, Feb 28, 2011 at 9:51 AM, Michael Fuchs
freepas...@ypa-software.de wrote:
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
On 28 Feb 2011, at 13:51, Michael Fuchs wrote:
while porting software from .NET to FreePascal I am looking for some
exceptions for recurrent errors. For example:
ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
None of these exist in Pascal. You can get exceptions for
On Tue, 01 Mar 2011 12:38:27 +0100, Michael Fuchs
freepas...@ypa-software.de wrote:
I also miss a NotImplementedException (or ENotImplemented in FPC style),
very handy for test driven development. :)
Yeah. And
type
//-- @abstract(Obvious coding error.)
Coder_Needs_Coffee = class
In our previous episode, Jonas Maebe said:
None of these exist in Pascal. You can get exceptions for range check errors
(ERangeError) in case you enable range checking and include the sysutils unit
in your uses clause, but in that case range checking will be performed for
all assignments,
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?
regards
Michael