(file) Return to Config.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Config.h between version 1.25 and 1.26

version 1.25, 2002/03/18 13:33:38 version 1.26, 2002/03/25 16:27:51
Line 98 
Line 98 
 # define PEGASUS_TEMPLATE_SPECIALIZATION # define PEGASUS_TEMPLATE_SPECIALIZATION
 #endif #endif
  
 /** Test to determine if we use the exception declarations as part  
     of the function declaration.  
     If PEGASUS_TEST_EXCEPTION is set, we create a macro that  
     uses the exception declaration.  If not, we throw it away.  
     We expect the PEGASUS_TEST_EXCEPTION to be defined within  
     the config files for particular platforms at the same time  
     and compiler options are set to test for the exception declaration  
     The exception declaration is a component of the functon declaration  
     that adds a list of exceptions thrown by the function.  
     <pre>  
     For example:  
     void fun1(String& a, Unit32 b) PG_THROW(BadJunkException);  
     </PRE>  
     States that this function throws only this exception.  
 */  
   
 #ifdef PEGASUS_TEST_EXCEPTION_DECLARATION  
 #define PG_THROW(X) throw X  
 #else  
 #define PG_THROW(X) /* Empty */  
   
 #endif  
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  


Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2