Alex Smirnov schreef:
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).

Sorry - ones more - my question was about this strange situation. So, actually - I am unable to handle any exception - in all cases I will see only Access violation.
So, tell me please, how and for what can I use "Raise Exception.Create(...)?
It seems that it is useless.

*Regards, Alexey.*

Maybe you should turn off the Application Exception handler. That way, the second exception most likely doesn't occur.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to