[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| "Bo Peng" <[EMAIL PROTECTED]> writes:
| 
| | Dear list,
| | 
| | I get used to try/catch/throw for error handling and find it difficult
| | to write code without them. What is the current coding rule regarding
| | exception? If we are starting to use them, does it make sense to add a
| | except.h and define all exceptions (such as lyx::err_empty_whatever)
| | over there?
| 
| I think that none of use "regulars" are really experienced in using
| exceptions. OTOH I at least has read quite a lot about how to write
| exception safe code.

Actually there a code in LyX that is written to be exception safe, but
we have not used try/catch.

-- 
        Lgb

Reply via email to