Advertisement
grings

Exception Thread

Sep 12th, 2023
1,285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.34 KB | Source Code | 0 0
  1.  
  2.   if FFuturePolyBaseVersion.Status = TTaskStatus.Exception then
  3.   try
  4.     FFuturePolyBaseVersion.Value
  5.   except
  6.     on E: Exception do
  7.     begin
  8.       if E is EAggregateException then
  9.         if EAggregateException(E).Count > 0 then
  10.           ShowMessage('Errore: ' + EAggregateException(E).InnerExceptions[0].Message);
  11.     end;
  12.   end;
Tags: Excption
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement