As i think in Delphi when i use "except' that mean i ignore the exception
for example where i have the problem
procedure TmposSession.SafeFetch(Command:string; Items: TmposProfile; Cache:Boolean);
begin
try
Fetch(Command, Items);
if Cache then
Items.SaveToFile(GetCacheFolder + Command+'.xml');
except
if Cache then
Items.LoadFromFile(GetCacheFolder + Command+'.xml');
end;
end;
When Fetch function fail and raise an exception, it must load it from the file.
but when use SafeFetch in a form create, the form not created because there is an exception.
I feel i am wrong in some where
