Fatal errors
Go Up to Delphi Compiler Errors Index
Fatal errors always immediately terminate the program.
Exception mapping
In applications that use the System.SysUtils unit (as most GUI applications do), fatal errors are mapped to exceptions. For a description of the conditions that produce each error, see the documentation for the exception.
I/O error list
The following table lists all fatal errors, numbers, and mapped exceptions.
Number |
Name |
Exception |
200 |
Division by zero |
|
201 |
Range check error |
System.ERangeError |
202 |
Stack overflow |
EStackOverflow |
203 |
Heap overflow error |
EOutOfMemory |
204 |
Invalid pointer operation |
EInvalidPointer |
205 |
Floating point overflow |
System.EOverflow |
206 |
Floating point underflow |
System.EUnderflow |
207 |
Invalid floating point operation |
System.EInvalidOp |
210 |
Abstract Method Error |
EAbstractError |
215 |
Arithmetic overflow (integer only) |
System.EIntOverflow |
216 |
Access violation |
EAccessViolation |
217 |
Control-C |
EControlC |
218 |
Privileged instruction |
EPrivilege |
219 |
Invalid typecast |
System.EInvalidCast |
220 |
Invalid variant typecast |
Variants.EVariantError |
221 |
Invalid variant operation |
Variants.EVariantError |
222 |
No variant method call dispatcher |
Variants.EVariantError |
223 |
Cannot create variant array |
Variants.EVariantError |
224 |
Variant does not contain array |
Variants.EVariantError |
225 |
Variant array bounds error |
Variants.EVariantError |
226 |
TLS initialization error |
No exception to map to. |
227 |
Assertion failed |
|
228 |
Interface Cast Error |
|
229 |
Safecall error |
|
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. |