Hi, What kind of errors do you need to handle?
In theory, your application should be written so that it works with all databases. I know this is not always possible... In a perfect world, all databases would return the same SQL state for the same exception, and the list of SQL states would be part of the JDBC API (similar to java.sql.Types). If hardcoding the SQL state in your application is not an option, I could move the ErrorCode class to org.h2.api, the other (easier) solution is to include org.h2.constant.* to the list of exported packages. But first I would like to better understand the problem. Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
