These errors always immediately terminate the program.
In applications that use the SysUtils class (as most GUI applications do), these errors are mapped to exceptions. For a description of the conditions that produce each error, see the documentation for the exception.
The following table lists all fatal errors, numbers, and mapped exceptions.
Number |
Name |
Exception |
200 |
Division by zero |
EDivByZero |
201 |
Range check error |
ERangeError |
202 |
Stack overflow |
EStackOverflow |
203 |
Heap overflow error |
EOutOfMemory |
204 |
Invalid pointer operation |
EInvalidPointer |
205 |
Floating point overflow |
EOverflow |
206 |
Floating point underflow |
EUnderflow |
207 |
Invalid floating point operation |
EInvalidOp |
210 |
Abstract Method Error |
EAbstractError |
215 |
Arithmetic overflow (integer only) |
EIntOverflow |
216 |
Access violation |
EAccessViolation |
217 |
Control-C |
EControlC |
218 |
Privileged instruction |
EPrivilege |
219 |
Invalid typecast |
EInvalidCast |
220 |
Invalid variant typecast |
EVariantError |
221 |
Invalid variant operation |
EVariantError |
222 |
No variant method call dispatcher |
EVariantError |
223 |
Cannot create variant array |
EVariantError |
224 |
Variant does not contain array |
EVariantError |
225 |
Variant array bounds error |
EVariantError |
226 |
TLS initialization error |
No exception to map to. |
227 |
Assertion failed |
EAssertionFailed |
228 |
Interface Cast Error |
EIntfCastError |
229 |
Safecall error |
ESafecallException |
230 |
Unhandled exception |
No exception to map to. |
231 |
Too many nested exceptions |
Up to 16 permitted. |
232 |
Fatal signal raised on a non-Delphi thread |
No exception to map to. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|