Changes between Version 4 and Version 5 of Jaws2/Internals/Exceptions

Show
Ignore:
Author:
nicobn (IP: 169.254.0.2)
Timestamp:
08/25/07 14:34:19 (11 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Jaws2/Internals/Exceptions

    v4 v5  
    2525 
    2626== Assertions == 
    27 Assertions are used to avoid programming errors ({{{EC_CORE}}} exceptions). In production, the evaluation of assertions is disabled to fasten the execution. Assertions should be used only when, in the end, the programming error will be caught anyway, but in a much less favourable, elegant and meaningful way. Assertions should be used as much as possible instead of {{{Jaws_Exception::EC_CORE}}} exceptions. 
     27Assertions are used to avoid programming errors ({{{EC_CORE}}} exceptions). In production, the evaluation of assertions is disabled to fasten the execution (this is done by turning the {{{Jaws::DEBUG}}} flag to {{{false}}}). Assertions should be used only when, in the end, the programming error will be caught anyway, but in a much less favourable, elegant and meaningful way. Assertions should be used as much as possible instead of {{{Jaws_Exception::EC_CORE}}} exceptions. 
    2828 
    2929=== [wiki:Jaws2/Internals < Click here to go back to Jaws 2 Internals section] ===