On Sat, 21 Oct 2006, Alex Smirnov wrote:
> Michael Van Canneyt ?????:
> > This is because a SECOND exception is raised somewhere which hides your
> > first exception. It means there is a place where you do not take into
> > account that an exception may occur ?
> >
> > (or there is an error in the Lazarus exception handling routines)
> >
> > Michael.
> Yes, I know - a object handler was used, but it was Nill. Michael, it was NOT
> raised SOMEWHERE - it was raised AFTER I try to prevent it! So before it I
> should see my exception for "File not exist" and program should stop waiting
> for my reaction (as it typically in Delphi and Sibyl).
This is not correct. Consider the following situation:
try
// Exception raised here
except
// Handle first exception.
// but !! Second exception raised here..
end;
Only the second exception will be visible. The first one is hidden.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives