version 1.18, 2012/11/29 16:41:41
|
version 1.19, 2012/12/06 10:11:45
|
|
|
#include <Pegasus/Common/PegasusVersion.h> | #include <Pegasus/Common/PegasusVersion.h> |
#include <Pegasus/Common/FileSystem.h> | #include <Pegasus/Common/FileSystem.h> |
#include <Pegasus/Common/AuditLogger.h> | #include <Pegasus/Common/AuditLogger.h> |
#include <Pegasus/Config/ConfigExceptions.h> |
|
#include <Pegasus/Config/ConfigManager.h> | #include <Pegasus/Config/ConfigManager.h> |
| |
#include <sys/__messag.h> | #include <sys/__messag.h> |
|
|
planned)); | planned)); |
| |
} | } |
catch (const NonDynamicConfigProperty& ndcp) |
catch(const Exception& e) |
{ | { |
Logger::put_l( | Logger::put_l( |
Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, | Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
MessageLoaderParms( | MessageLoaderParms( |
"Server.ConsoleManager_zOS.CON_MODIFY_ERR.PEGASUS_OS_ZOS", | "Server.ConsoleManager_zOS.CON_MODIFY_ERR.PEGASUS_OS_ZOS", |
"MODIFY command failed: \"$0\"", | "MODIFY command failed: \"$0\"", |
ndcp.getMessage())); |
e.getMessage())); |
} | } |
catch (const InvalidPropertyValue& ipv) |
|
{ |
|
Logger::put_l( |
|
Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
|
MessageLoaderParms( |
|
"Server.ConsoleManager_zOS.CON_MODIFY_ERR.PEGASUS_OS_ZOS", |
|
"MODIFY command failed: \"$0\"", |
|
ipv.getMessage())); |
|
} |
|
catch (const UnrecognizedConfigProperty&) |
|
{ |
|
Logger::put_l( |
|
Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
|
MessageLoaderParms( |
|
"Server.ConsoleManager_zOS.CON_MODIFY_INVALID.PEGASUS_OS_ZOS", |
|
"$0 is not a valid configuration property", |
|
configProperty)); |
|
} |
|
|
|
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
| |