version 1.1.2.17, 2004/10/31 16:02:00
|
version 1.1.2.18, 2004/11/04 18:04:05
|
|
|
#include "CQLChainedIdentifierRep.h" | #include "CQLChainedIdentifierRep.h" |
#include <Pegasus/CQL/CQLFactory.h> | #include <Pegasus/CQL/CQLFactory.h> |
#include <Pegasus/CQL/QueryContext.h> | #include <Pegasus/CQL/QueryContext.h> |
|
#include "QueryException.h" |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
_subIdentifiers[0].getName().getString().size() == 0 && | _subIdentifiers[0].getName().getString().size() == 0 && |
_subIdentifiers[0].isSymbolicConstant()) | _subIdentifiers[0].isSymbolicConstant()) |
{ | { |
throw Exception("TEMP MSG: CQLChainedIdentifierRep::applyContext - standalone symb const"); |
throw CQLValidationException( |
|
MessageLoaderParms(String("CQL.CQLChainedIdentifier.STAND_ALONE_SYMBOLIC_CONSTANT"), |
|
String("The stand alone chained identifier should have had the context applied already.")) |
|
); |
} | } |
| |
CQLIdentifier firstId = _subIdentifiers[0]; | CQLIdentifier firstId = _subIdentifiers[0]; |
|
|
// ATTN may just want to throw the CIMException rather than | // ATTN may just want to throw the CIMException rather than |
// CQL exception | // CQL exception |
throw Exception("TEMP MSG - CQLChainId::applyContext - FROM class does not exist"); | throw Exception("TEMP MSG - CQLChainId::applyContext - FROM class does not exist"); |
|
throw CQLValidationException( |
|
MessageLoaderParms(String("CQL.CQLChainedIdentifier.FROM_CLASS_DOES_NOT_EXIST"), |
|
String("The FROM class does not exist while applying context.")) |
|
); |
} | } |
} | } |
} | } |