Hi all,

I am trying to bullet-proof my application as far as possible and  
wanted to put Exception handlers in all of my methods. I have found  
that the Exceptions block in any method that calls quit gets fired,  
which surprised me rather. Why would this happen? Also, is there a  
way for the Exception block to report the type of Exception. I could do

Exception err
        if err isA [whatever]Exception then
        ...

but then I'd need to add else clauses for all types of Exception -  
rather ungainly. Is there a toString or similar type of method  
somewhere that lets me pick up an error type String or Integer to  
report in a log-file or error message? I tried str(err) but this  
causes a type mismatch Exception (ironically enough).


Any guidance much appreciated.


Ian.
--
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to