System.ExceptObjProc

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

ExceptObjProc: Pointer; { Map an OS Exception to a Delphi class instance }

C++

extern DELPHI_PACKAGE void *ExceptObjProc;

Properties

Type Visibility Source Unit Parent
variable public
System.pas
System.hpp
System System

Description

ExceptObjProc defines a pointer to a function called during exception handling.

ExceptClsProc defines the function that returns a class used to determine which exception handler to utilize before an exception object is created.

You can override the default exception object creation by defining your own function that returns a TObject. You then point ExceptObjProc to that function, which is passed the updatable version of the TExceptionRecord.

See Also