Delphi exception class

Source: Internet
Author: User
Tags integer division

 

----------------------------------------------------------------------
Eexternal = Class (exception)

Eexternalexception = The Exception Code of class (eExternal) is invalid.

Integer calculation error
Einterror = Class (eExternal) integer calculation exception (base class)
Edivbyzero = Class (einterror) Integer Division 0 Overflow
Einterverflow = Class (einterror) Integer Overflow
Erangeerror = Class (einterror) integer out of bounds

Floating Point calculation exception
Ematherror = Class (eExternal) floating point calculation exception (base class)
Einvalidargument = Class (ematherror) parameter out of range
Einvalidop = Class (ematherror) is invalid floating point operation instruction
Eoverflow = Class (ematherror) floating point operation Overflow
Eunderflow = Class (ematherror) floating point operation Overflow
Ezerodivide = Class (ematherror) floating point calculation except 0

Eaccessviolation = Class (eExternal) Illegal Memory Access

Eprivilege = Class (eExternal) processor privilege Violation

Estackoverflow = Class (eExternal) end deprecated Stack Overflow

Econtrolc = Class (eExternal) User interruption

----------------------------------------------------------------------
Heap exception
Eheapexception = Class (exception)
Eoutofmemory = Class (eheapexception) Heap does not have enough memory to complete the operation.
Eoutofresources = Class (eoutofmemory)
Einvalidpointer = Class (eheapexception) tries to access a non-heap pointer

----------------------------------------------------------------------
I/O exception
Einouterror = Class (exception) DoS Input/Output Error

----------------------------------------------------------------------
Character conversion exception
An error occurred while converting the econverterror = Class (exception) number to a string or string to a number.

----------------------------------------------------------------------
Type conversion exception
Einvalidcast = Class (exception) type conversion exception

----------------------------------------------------------------------
Dumb exception
Eabort = Class (exception) generated by calling abort. No error prompt box is displayed.

----------------------------------------------------------------------
Stream exception
Estreamerror = Class (exception)
Efilestreamerror = Class (estreamerror)
Efcreateerror = Class (efilestreamerror) An error occurred while creating the file.
Efopenerror = Class (efilestreamerror) An error occurred while opening the file.
Efilererror = Class (estreamerror)
Ereaderror = Class (efilererror) cannot read data from the file stream
Ewriteerror = Class (efilererror) cannot write data to the file stream
The component in the eclassnotfound = Class (efilererror) window has been deleted.
Einvalidimage = Class (efilererror) cannot read resource files
Emethodnotfound = Class (efilererror)

Eresnotfound = Class (exception) cannot find the resource
Ebitserror = Class (exception) attempts to illegally access the Boolean Array
Elisterror = Class (exception) The index is out of the linked list.
Estringlisterror = Class (exception) string linked list (list box) out of bounds
Eparsererror = Class (exception) text to binary stream conversion error

----------------------------------------------------------------------
Common component exception
Einvalidoperation = Class (exception) indicates an invalid operation on the component. Cause: Try to perform some operations that require a window handle on the component whose parent attribute is nil, and try to drag and drop the form.
Ecomponenterror = Class (exception) cannot register or rename a component
Eoutofresources = Class (eoutofmemory) resources are insufficient. Cause: the operating system does not have any redundant handles to allocate.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.