diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-17 22:47:54 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-17 22:47:54 +0000 |
commit | 55bc454c47dd915b1c92d1a0f1cd260c1a536d4c (patch) | |
tree | e9f4e35123baf0a5c9b8df1dbf6cddfbedf1d64d /docs/exceptions.html | |
parent | 34cb84d581cb1174431d1c0c076f1af907ce0f26 (diff) | |
download | ATCD-55bc454c47dd915b1c92d1a0f1cd260c1a536d4c.tar.gz |
Added explanation for using ACE_NEW_THROW_EX.
Diffstat (limited to 'docs/exceptions.html')
-rw-r--r-- | docs/exceptions.html | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/docs/exceptions.html b/docs/exceptions.html index 8caa266bda3..e9da189137a 100644 --- a/docs/exceptions.html +++ b/docs/exceptions.html @@ -75,7 +75,32 @@ try macros. To simulate native exceptions on platforms without native exception handling, <em>every</em> single function call that may throw exceptions must be followed by <code>ACE_CHECK</code> or - <code>ACE_CHECK_RETURN</code>. Notice that you should always + <code>ACE_CHECK_RETURN</code>.</p> + + <p><a name="exc-func">Exception-throwing functions include the + following categories:</p> + + <ol> + <li><p>Any function that takes a + <code>CORBA_Environment</code> variable.</p> + </li> + + <li><p><code>ACE_NEW_THROW_EX</code>. Notice that you + <em>should not</em> use <code>ACE_NEW_THROW</code>, + <code>ACE_NEW_THROW_RETURN</code>, + <code>ACE_NEW_TRY_THROW</code> anymore because they don't + work right with ACE try macros. Instead, use + <code>ACE_NEW_THROW</code> with appropriate ACE_CHECK* + macros.</p> + </li> + + <li><p><code>ACE_TRY</code> blocks. Follow every + <code>ACE_ENDTRY</code> with appropriate ACE_CHECK* + macros.</p> + <li> + </ol> + + Notice that you should always follow the outter most <code>ACE_ENDTRY</code> with <code>ACE_CHECK</code> or <code>ACE_CHECK_RETURN</code> because there might be uncaught exception. |