use of org.apache.camel.component.sql.stored.template.generated.ParseException in project camel by apache.
the class TemplateParser method parseTemplate.
public Template parseTemplate(String template) {
try {
SSPTParser parser = new SSPTParser(new StringReader(template));
Template ret = validate(parser.parse());
return ret;
} catch (ParseException parseException) {
throw new ParseRuntimeException(parseException);
}
}
Aggregations