Hi Thomas,

Yes you can use JdbcSQLException class that implements the following java 
interface:
https://github.com/nicolas-f/h2database/blob/feature/exception-info/h2/src/main/org/h2/api/SQLParseException.java

-Nicolas Fortin
Atelier SIG
IRSTV FR CNRS 2488


Le samedi 24 août 2013 11:19:28 UTC+2, Thomas Mueller a écrit :
>
> Hi,
>
> I'm not convinced that using another exception class is a good idea. This 
> new exception class has to be supported in multiple places (remoting the 
> exception for example).
>
> What about extending the existing class (JdbcSQLException) with the 
> required data? If it's not a parse exception, then the field is empty.
>
> Regards,
> Thomas
>

-- 
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