System.SysUtils.Exception.RaiseOuterException
Delphi
class procedure RaiseOuterException(E: Exception); static;
C++
static void __fastcall RaiseOuterException(Exception* E);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | System.SysUtils.pas System.SysUtils.hpp | System.SysUtils | Exception | 
Description
RaiseOuterException raises an exception and captures the current one.
Call RaiseOuterException from within an except block to raise a new exception and preserve the current one. RaiseOuterException raises a new exception and sets the current one as an inner exception. RaiseOuterException is useful when creating exception chains.