(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.4

version 1.1, 2002/08/16 01:28:06 version 1.4, 2002/09/11 21:20:24
Line 147 
Line 147 
 }; };
  
 // ATTN: P3  KS documentation Required // ATTN: P3  KS documentation Required
 class PEGASUS_COMMON_LINKAGE NullType : public Exception  
 {  
 public:  
   
     static const char MSG[];  
   
     NullType() : Exception(MSG) { }  
 };  
   
 // ATTN: P3  KS documentation Required  
 class PEGASUS_COMMON_LINKAGE ClassAlreadyResolved : public Exception class PEGASUS_COMMON_LINKAGE ClassAlreadyResolved : public Exception
 { {
 public: public:
Line 414 
Line 404 
     UnauthorizedAccess() : Exception(MSG) { }     UnauthorizedAccess() : Exception(MSG) { }
 }; };
  
 #if 0  class PEGASUS_COMMON_LINKAGE IncompatibleTypesException : public Exception
 #define PEGASUS_CIM_EXCEPTION(CODE, EXTRA_MESSAGE) \  {
     CIMException(CODE, EXTRA_MESSAGE, __FILE__, __LINE__)  public:
       IncompatibleTypesException();
   };
   
  
 /** 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);
  
 private:      String getDescription() const;
     const char*    _file;  
     Uint32         _line;      String getTraceDescription() const;
 }; };
 #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.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2