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

Diff for /pegasus/src/Pegasus/Common/InternalException.h between version 1.15.2.1 and 1.18

version 1.15.2.1, 2006/02/10 16:09:37 version 1.18, 2006/05/10 19:40:38
Line 619 
Line 619 
 #define PEGASUS_CIM_EXCEPTION_L(CODE, MSG_PARMS) \ #define PEGASUS_CIM_EXCEPTION_L(CODE, MSG_PARMS) \
     TraceableCIMException(CODE, MSG_PARMS, String(__FILE__), __LINE__)     TraceableCIMException(CODE, MSG_PARMS, String(__FILE__), __LINE__)
  
   /** Macro to prevent overflow of a signed int value when said value is
    *  doubled. If String/Array/Buffer size is greater than 0x3FFFFFFF, then
    *  something is suspect, throw bad_alloc exception.
    */
   #define PEGASUS_CHECK_CAPACITY_OVERFLOW(capacity) \
       do \
       { \
           if (capacity > 0x3FFFFFFF) \
               throw PEGASUS_STD(bad_alloc)(); \
       } \
       while (0)
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
 #endif /* Pegasus_InternalException_h */ #endif /* Pegasus_InternalException_h */


Legend:
Removed from v.1.15.2.1  
changed lines
  Added in v.1.18

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2