version 1.57, 2008/08/07 18:03:57
|
version 1.58, 2008/08/07 19:20:45
|
|
|
| |
if (it.containsClass(className)) | if (it.containsClass(className)) |
{ | { |
|
if (throwExcp) |
|
{ |
PEG_TRACE_CSTRING(TRC_REPOSITORY, Tracer::LEVEL1, | PEG_TRACE_CSTRING(TRC_REPOSITORY, Tracer::LEVEL1, |
"Class already exists."); | "Class already exists."); |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
if (throwExcp) |
|
throw PEGASUS_CIM_EXCEPTION( | throw PEGASUS_CIM_EXCEPTION( |
CIM_ERR_ALREADY_EXISTS, className.getString()); | CIM_ERR_ALREADY_EXISTS, className.getString()); |
|
} |
|
PEG_METHOD_EXIT(); |
return true; | return true; |
} | } |
| |