Author: borisk
Date: Fri Mar 28 07:50:35 2008
New Revision: 642248

URL: http://svn.apache.org/viewvc?rev=642248&view=rev
Log:
Expand documentation for the getExceptionMemoryManager function.

Modified:
    xerces/c/trunk/src/xercesc/framework/MemoryManager.hpp

Modified: xerces/c/trunk/src/xercesc/framework/MemoryManager.hpp
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/framework/MemoryManager.hpp?rev=642248&r1=642247&r2=642248&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/MemoryManager.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/MemoryManager.hpp Fri Mar 28 07:50:35 
2008
@@ -59,6 +59,11 @@
       * This method is called to obtain the memory manager that should be
       * used to allocate memory used in exceptions. If the same memory
       * manager can be used, simply return 'this' from this function.
+      * Note, however, that if there is a possibility that an exception
+      * thrown can outlive the memory manager (for example, because the
+      * memory manager object is allocated on the stack or is managed by
+      * a stack-bound object), it is recommended that you return
+      * XMLPlatformUtils::fgMemoryManager.
       *
       * @return A pointer to the memory manager
       */



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to