RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.TRuntimeError Enumeration

TRuntimeError is a type of runtime error.

Pascal
TRuntimeError = (
  reNone,
  reOutOfMemory,
  reInvalidPtr,
  reDivByZero,
  reRangeError,
  reIntOverflow,
  reInvalidOp,
  reZeroDivide,
  reOverflow,
  reUnderflow,
  reInvalidCast,
  reAccessViolation,
  rePrivInstruction,
  reControlBreak,
  reStackOverflow,
  reVarTypeCast,
  reVarInvalidOp,
  reVarDispatch,
  reVarArrayCreate,
  reVarNotArray,
  reVarArrayBounds,
  reAssertionFailed,
  reExternalException,
  reIntfCastError,
  reSafeCallError
);
C++
enum TRuntimeError {
  reNone,
  reOutOfMemory,
  reInvalidPtr,
  reDivByZero,
  reRangeError,
  reIntOverflow,
  reInvalidOp,
  reZeroDivide,
  reOverflow,
  reUnderflow,
  reInvalidCast,
  reAccessViolation,
  rePrivInstruction,
  reControlBreak,
  reStackOverflow,
  reVarTypeCast,
  reVarInvalidOp,
  reVarDispatch,
  reVarArrayCreate,
  reVarNotArray,
  reVarArrayBounds,
  reAssertionFailed,
  reExternalException,
  reIntfCastError,
  reSafeCallError
};

System

TRuntimeError can have one of the following values:

Value 
Meaning 
reNone  
No error  
reOutOfMemory  
The memory manager is unable to allocate memory  
reInvalidPtr  
Pointer is invalid  
reDivByZero  
Attempt to divide an integer by integer zero  
reRangeError  
Attempt to access an array using an out of bounds index  
reIntOverflow  
Integer operation caused value to flow out of most significant bit  
reInvalidOp  
An invalid floating point operation occurred: result of operation cannot be expressed as exact decimal fraction, other floating point exception, or stack overflow due to operation  
reZeroDivide  
Floating point number divided by floating point zero  
reOverflow  
Exponent of floating point number is greater than allowed for its type  
reUnderflow  
An invalid floating point operation occurred: exponent of floating point number is less than allowed for its type, or one of operands too small to represent by this floating point type  
reInvalidCast  
An operand was not of the proper type  
reAccessViolation  
Attempt to access a virtual address that is invalid  
rePrivInstruction  
Attempt to execute instruction disallowed in current processor mode  
reControlBreak  
User pressed control-C to break  
reStackOverflow  
Stack overflow  
reVarTypeCast  
Unused  
reVarInvalidOp  
Invalid operation with a Variant  
reVarDispatch  
Obsolete  
reVarArrayCreate  
Unused  
reVarNotArray  
Unused  
reVarArrayBounds  
Unused  
reAssertionFailed  
An assertion failed  
reExternalException  
Type of exception raised not part of RAD Studio  
reIntfCastError  
Interface not supported  
reSafeCallError  
SafeCall failure  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!