diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-EA71F52C-DB4C-500D-9051-31BEF29E171D.dita --- a/Symbian3/PDK/Source/GUID-EA71F52C-DB4C-500D-9051-31BEF29E171D.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-EA71F52C-DB4C-500D-9051-31BEF29E171D.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,28 +1,28 @@ - - - - - -Basic -exception supportDescribes the operating support for exceptions. -

The basic operating system support for exceptions comes from

- -

These are analogous to C++’s exception handling support (try/catch and throw).

-

By convention, all functions that can leave — directly or indirectly — -have an L appended onto their name (and can therefore be referred to as L -functions). The function invoked by a trap harness will always be -an L function.

+ + + + + +Basic +exception supportDescribes the operating support for exceptions. +

The basic operating system support for exceptions comes from

+
    +
  • the TRAP macro +and its variant, TRAPD, which allow code to be run under +a trap harness

  • +
  • the User::Leave() call, +which terminates the current function, and returns to the trap harness, specifying +an error code.

  • +
+

These are analogous to C++’s exception handling support (try/catch and throw).

+

By convention, all functions that can leave — directly or indirectly — +have an L appended onto their name (and can therefore be referred to as L +functions). The function invoked by a trap harness will always be +an L function.

\ No newline at end of file