(a)
   try
     <statements>
   except
     <statements>
   end;

(b)
   try
     <statements>
   except
     on E: TMyException do
     begin
      <statements>
     end;
   end;

(c)
   try
     <statements>
   finally
     <cleanup statements>
   end;

Example 2: Forms used to catch exceptions.

Back to Article