version 1.23, 2002/08/14 17:41:16
|
version 1.24, 2002/08/20 17:39:37
|
|
|
throw NullType(); | throw NullType(); |
| |
if (_arraySize && !_isArray) | if (_arraySize && !_isArray) |
throw IncompatibleTypes(); |
throw IncompatibleTypesException(); |
| |
if (!referenceClassName.isNull()) | if (!referenceClassName.isNull()) |
{ | { |
if (_type != CIMTYPE_REFERENCE) | if (_type != CIMTYPE_REFERENCE) |
{ | { |
throw ExpectedReferenceValue(); |
throw ExpectedReferenceValueException(); |
} | } |
} | } |
else | else |
|
|
// ATTN: revisit this later! | // ATTN: revisit this later! |
#if 0 | #if 0 |
if (_type == CIMTYPE_REFERENCE) | if (_type == CIMTYPE_REFERENCE) |
throw MissingReferenceClassName(); |
throw MissingReferenceClassNameException(); |
#endif | #endif |
} | } |
} | } |
|
|
void CIMParameterRep::removeQualifier (Uint32 pos) | void CIMParameterRep::removeQualifier (Uint32 pos) |
{ | { |
if (pos >= _qualifiers.getCount ()) | if (pos >= _qualifiers.getCount ()) |
throw OutOfBounds (); |
throw IndexOutOfBoundsException(); |
| |
_qualifiers.removeQualifier (pos); | _qualifiers.removeQualifier (pos); |
} | } |
|
|
| |
if (_referenceClassName.isNull() && _type == CIMTYPE_REFERENCE) | if (_referenceClassName.isNull() && _type == CIMTYPE_REFERENCE) |
{ | { |
throw MissingReferenceClassName(); |
throw MissingReferenceClassNameException(); |
} | } |
} | } |
| |