version 1.77, 2006/01/30 16:16:52
|
version 1.77.8.1, 2006/04/25 14:42:18
|
|
|
_rep->message.append(MessageLoader::getMessage(msgParms)); | _rep->message.append(MessageLoader::getMessage(msgParms)); |
} | } |
| |
|
|
//////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////// |
// | // |
// CIMException | // CIMException |
|
|
tmp->code = rep->code; | tmp->code = rep->code; |
tmp->file = rep->file; | tmp->file = rep->file; |
tmp->line = rep->line; | tmp->line = rep->line; |
|
tmp->errors = rep->errors; |
_rep = tmp; | _rep = tmp; |
} | } |
| |
|
|
left->code = right->code; | left->code = right->code; |
left->file = right->file; | left->file = right->file; |
left->line = right->line; | left->line = right->line; |
|
left->errors = right->errors; |
} | } |
return *this; | return *this; |
} | } |
|
|
{ | { |
} | } |
| |
|
Uint32 CIMException::getErrorCount() const |
|
{ |
|
return reinterpret_cast<CIMExceptionRep*>(_rep)->errors.size(); |
|
} |
|
|
|
CIMInstance CIMException::getError(Uint32 index) |
|
{ |
|
return reinterpret_cast<CIMExceptionRep*>(_rep)->errors[index]; |
|
} |
|
|
|
CIMConstInstance CIMException::getError(Uint32 index) const |
|
{ |
|
return reinterpret_cast<CIMExceptionRep*>(_rep)->errors[index]; |
|
} |
|
|
|
void CIMException::addError(const CIMInstance& instance) |
|
{ |
|
return reinterpret_cast<CIMExceptionRep*>(_rep)->errors.append(instance); |
|
} |
|
|
|
void CIMException::removeError(Uint32 index) |
|
{ |
|
return reinterpret_cast<CIMExceptionRep*>(_rep)->errors.remove(index); |
|
} |
|
|
CIMStatusCode CIMException::getCode() const | CIMStatusCode CIMException::getCode() const |
{ | { |
CIMExceptionRep* rep; | CIMExceptionRep* rep; |