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

Show
Ignore:
Author:
nicobn (IP: 169.254.0.2)
Timestamp:
08/25/07 04:58:50 (11 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Jaws2/Internals/Exceptions

    v3 v4  
    11= Exceptions and assertions = 
    2 The Jaws API uses two types of language-level constructs to handle error cases: exceptions and assertions. 
     2The Jaws API uses two types of language-level constructs to handle error cases: exceptions and assertions. To know how they are handled, please refer to the [wiki:Jaws2/Internals/Toolkit Jaws_Toolkit] page. 
    33 
    44== Exceptions == 
    2525 
    2626== Assertions == 
    27 Assertions  
     27Assertions 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. 
    2828 
    2929=== [wiki:Jaws2/Internals < Click here to go back to Jaws 2 Internals section] ===