planetfederal / geoserver-exts

Other
31 stars 40 forks source link

Catch EmptyStackException and re-throw with a CQL error message #97

Closed tbarsballe closed 8 years ago

tbarsballe commented 8 years ago

The ECQLParser uses java.util.Stack for parsing. If we get an exception from here (for example, if we used a CQL-reserved name in a CQL block) , we can narrow the cause down to CQL. This will make things a bit easier for people debugging such errors.