Author: shawkins
Date: 2012-02-01 16:56:42 -0500 (Wed, 01 Feb 2012)
New Revision: 3840
Modified:
trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java
Log:
TEIID-1889 fix for exception change
Modified: trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java
===================================================================
---
trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java 2012-02-01
18:02:36 UTC (rev 3839)
+++
trunk/engine/src/main/java/org/teiid/query/resolver/util/ResolverVisitor.java 2012-02-01
21:56:42 UTC (rev 3840)
@@ -307,7 +307,7 @@
try {
resolveFunction(obj, this.metadata.getFunctionLibrary());
} catch(QueryResolverException e) {
- if ("ERR.015.008.0036".equals(e.getCode()) ||
"ERR.015.008.0035".equals(e.getCode())) { //$NON-NLS-1$ //$NON-NLS-2$
+ if (QueryPlugin.Event.TEIID30069.name().equals(e.getCode()) ||
QueryPlugin.Event.TEIID30067.name().equals(e.getCode())) {
if (unresolvedFunctions == null) {
unresolvedFunctions = new LinkedHashMap<Function,
QueryResolverException>();
}
Show replies by date