(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.1 and 1.2

version 1.1, 2002/08/16 01:28:06 version 1.2, 2002/08/16 22:48:29
Line 414 
Line 414 
     UnauthorizedAccess() : Exception(MSG) { }     UnauthorizedAccess() : Exception(MSG) { }
 }; };
  
 #if 0  
 #define PEGASUS_CIM_EXCEPTION(CODE, EXTRA_MESSAGE) \  
     CIMException(CODE, EXTRA_MESSAGE, __FILE__, __LINE__)  
   
 /** The CIMException defines the CIM exceptions that are formally defined in /** The CIMException defines the CIM exceptions that are formally defined in
     the CIM Operations over HTTP specification.  InternalCIMException allows      the CIM Operations over HTTP specification.  TraceableCIMException allows
     file name and line number information to be added for diagnostic purposes.     file name and line number information to be added for diagnostic purposes.
 */ */
 class PEGASUS_COMMON_LINKAGE InternalCIMException : public CIMException  class PEGASUS_COMMON_LINKAGE TraceableCIMException : public CIMException
 { {
 public: public:
  
     InternalCIMException(      TraceableCIMException(
         CIMStatusCode code = CIM_ERR_SUCCESS,          CIMStatusCode code,
         const String& message = String::EMPTY,          const String& message,
         const char* file = "",          const char* file,
         Uint32 line = 0);          Uint32 line);
  
     String getTraceDescription() const;      TraceableCIMException(const CIMException & cimException);
   
       String getDescription() const;
  
 private:      String getTraceDescription() const;
     const char*    _file;  
     Uint32         _line;  
 }; };
 #endif  
   #define PEGASUS_CIM_EXCEPTION(CODE, EXTRA_MESSAGE) \
       TraceableCIMException(CODE, EXTRA_MESSAGE, __FILE__, __LINE__)
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2