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

Diff for /pegasus/src/Pegasus/DynListener/ConsumerModule.cpp between version 1.2 and 1.3

version 1.2, 2005/04/04 06:37:19 version 1.3, 2005/04/11 16:30:26
Line 71 
Line 71 
     {     {
         if (!FileSystem::exists(libraryPath) || !FileSystem::canRead(libraryPath))         if (!FileSystem::exists(libraryPath) || !FileSystem::canRead(libraryPath))
         {         {
             throw Exception(MessageLoaderParms("DynListener.ConsumerManager.INVALID_LIBRARY_PATH",              throw Exception(MessageLoaderParms("DynListener.ConsumerModule.INVALID_LIBRARY_PATH",
                "The library ($0:$1) does not exist or cannot be read.",                "The library ($0:$1) does not exist or cannot be read.",
                libraryPath,                libraryPath,
                consumerName));                consumerName));
Line 90 
Line 90 
  
     if (!_libraryHandle)     if (!_libraryHandle)
     {     {
         throw Exception(MessageLoaderParms("DynListener.ConsumerManager.CANNOT_LOAD_LIBRARY",          throw Exception(MessageLoaderParms("DynListener.ConsumerModule.CANNOT_LOAD_LIBRARY",
                                    "ConsumerLoadFailure ($0:$1):Cannot load library, error: $2",                                     "Cannot load consumer library ($0:$1), load error $2",
                                    libraryPath,                                    libraryPath,
                                    consumerName,                                    consumerName,
                                    System::dynamicLoadError()));                                    System::dynamicLoadError()));
Line 103 
Line 103 
  
     if (!createProvider)     if (!createProvider)
     {     {
         throw Exception(MessageLoaderParms("DynListener.ConsumerManager.ENTRY_POINT_NOT_FOUND",          throw Exception(MessageLoaderParms("DynListener.ConsumerModule.ENTRY_POINT_NOT_FOUND",
                "ConsumerLoadFailure ($0:$1):entry point not found.",                 "The entry point for consumer library ($0:$1) cannot be found.",
                libraryPath,                libraryPath,
                consumerName));                consumerName));
     }     }
Line 115 
Line 115 
  
     if(!providerRef)     if(!providerRef)
     {     {
         throw Exception(MessageLoaderParms("DynListener.ConsumerManager.CREATE_PROVIDER_FAILED",          throw Exception(MessageLoaderParms("DynListener.ConsumerModule.CREATE_PROVIDER_FAILED",
                "ConsumerLoadFailure ($0:$1):createProvider failed.",                 "createProvider failed for consumer library ($0:$1)",
                libraryPath,                libraryPath,
                consumerName));                consumerName));
     }     }
Line 125 
Line 125 
     CIMIndicationConsumerProvider* consumerRef = dynamic_cast<CIMIndicationConsumerProvider *>(providerRef);     CIMIndicationConsumerProvider* consumerRef = dynamic_cast<CIMIndicationConsumerProvider *>(providerRef);
     if(!consumerRef)     if(!consumerRef)
     {     {
         throw Exception(MessageLoaderParms("DynListener.ConsumerManager.CONSUMER_IS_NOT_A",          throw Exception(MessageLoaderParms("DynListener.ConsumerModule.CONSUMER_IS_NOT_A",
             "ConsumerLoadFailure ($0:$1):consumer is not a CIMIndicationConsumerProvider.",              "Consumer ($0:$1) is not a CIMIndicationConsumerProvider.",
             libraryPath,             libraryPath,
             consumerName));             consumerName));
     }     }


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2