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

Diff for /pegasus/src/Pegasus/Common/Exception.cpp between version 1.81 and 1.81.2.3

version 1.81, 2006/11/10 18:14:58 version 1.81.2.3, 2006/12/29 03:22:23
Line 36 
Line 36 
 #include <Pegasus/Common/ExceptionRep.h> #include <Pegasus/Common/ExceptionRep.h>
 #include <Pegasus/Common/CIMExceptionRep.h> #include <Pegasus/Common/CIMExceptionRep.h>
 #include "Tracer.h" #include "Tracer.h"
   #include "Backtrace.h"
   
   #ifdef XPEGASUS_BACKTRACE
   # undef PEGASUS_BACKTRACE
   # define PEGASUS_BACKTRACE /* */
   #endif
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 Exception::Exception(const String& message) Exception::Exception(const String& message)
 { {
       PEGASUS_BACKTRACE;
     _rep = new ExceptionRep();     _rep = new ExceptionRep();
     _rep->message = message;     _rep->message = message;
     _rep->contentLanguages.clear();     _rep->contentLanguages.clear();
Line 48 
Line 55 
  
 Exception::Exception(const Exception& exception) Exception::Exception(const Exception& exception)
 { {
       PEGASUS_BACKTRACE;
     _rep = new ExceptionRep();     _rep = new ExceptionRep();
     _rep->message = exception._rep->message;     _rep->message = exception._rep->message;
     _rep->contentLanguages = exception._rep->contentLanguages;     _rep->contentLanguages = exception._rep->contentLanguages;
Line 55 
Line 63 
  
 Exception::Exception(const MessageLoaderParms& msgParms) Exception::Exception(const MessageLoaderParms& msgParms)
 { {
       PEGASUS_BACKTRACE;
     _rep = new ExceptionRep();     _rep = new ExceptionRep();
     _rep->message = MessageLoader::getMessage(     _rep->message = MessageLoader::getMessage(
         const_cast<MessageLoaderParms &>(msgParms));         const_cast<MessageLoaderParms &>(msgParms));
Line 64 
Line 73 
  
 Exception::Exception() Exception::Exception()
 { {
       PEGASUS_BACKTRACE;
     _rep = NULL;     _rep = NULL;
 } }
  


Legend:
Removed from v.1.81  
changed lines
  Added in v.1.81.2.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2