Maybe we're thinking about this the wrong way. The way the JDBC API
and SQL works is not to try and pass around and catch specialised
exceptions.

Maybe we should be exposing a new SQL command.

So the client can do
   PARSE <command>
and we return either an empty result set in the case of a successful
parse, or a result set containing
  PARSE_INDEX, EXPECTED_TOKENS, MESSAGE

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to