System.SysUtils.Exception.SetInnerException
Delphi
procedure SetInnerException;
C++
void __fastcall SetInnerException();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | Exception |
Description
SetInnerException sets the inner exception.
SetInnerException is called by the current Exception object right before it is being raised. If the current exception (for which SetInnerException is called) was generated while handling another exception, SetInnerException stores a reference to that exception. SetInnerException is used internally to create a chain of exceptions.