RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EExternalException Class

EExternalException is the exception class for invalid exception codes.

Pascal
EExternalException = class(EExternal);
C++
class EExternalException : public EExternal;

EExternalException is raised when the run time library detects an unrecognized exception code. The run time library recognizes the following exception codes: 

STATUS_INTEGER_DIVIDE_BY_ZERO 

STATUS_ARRAY_BOUNDS_EXCEEDED 

STATUS_FLOAT_OVERFLOW 

STATUS_FLOAT_INEXACT_RESULT  

STATUS_FLOAT_INVALID_OPERATION 

STATUS_FLOAT_STACK_CHECK 

STATUS_FLOAT_DIVIDE_BY_ZERO 

STATUS_INTEGER_OVERFLOW 

STATUS_FLOAT_UNDERFLOW 

STATUS_FLOAT_DENORMAL_OPERAND 

STATUS_ACCESS_VIOLATION 

STATUS_PRIVILEGED_INSTRUCTION 

STATUS_CONTROL_C_EXIT 

STATUS_STACK_OVERFLOW 

Any exception code that is not on the list above raises an EExternalException.

Note: As a descendant of EExternal, EExternalException saves the exception record in its ExceptionRecord data structure. An exception record is only generated under Windows.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!