t = (CommonTree) parser.select().getTree();
err = parser.getWindowingParseErrors();
if ( err != null )
{
throw new WindowingException(err);
}
}
catch(WindowingException we)
{
throw we;
}
catch(Throwable te)
{
err = parser.getWindowingParseErrors();
if ( err != null )
{
throw new WindowingException(err);
}
throw new WindowingException("Parse Error:" + te.toString(), te);
}
TranslateUtils.unescapeStringLiterals((ASTNode) t);
try
{
nodes = new CommonTreeNodeStream(t);
nodes.setTokenStream(tokens);
qSpecBldr = new QSpecBuilder2(nodes);
SelectSpec selectSpec = qSpecBldr.select();
err = qSpecBldr.getWindowingParseErrors();
if ( err != null )
{
throw new WindowingException(err);
}
return selectSpec;
}
catch(WindowingException we)
{
throw we;
}
catch(Throwable te)
{
err = qSpecBldr.getWindowingParseErrors();
if ( err != null )
{
throw new WindowingException(err);
}
throw new WindowingException("Parse Error:" + te.toString(), te);
}
}