I am trying to programmatically handle errors thrown as SQLExceptions from H2 when using H2 as part of an Eclipse project.
Calling SQLException.getErrorCode() gives me the H2 error code which I would like to match against the constants in class org.h2.constant.ErrorCode. Unfortunately, this class is not exported from the h2.jar (which is packaged as a valid OSGi bundle). Here is the relevant line from MANIFEST.MF: Export-Package: org.h2,org.h2.api,org.h2.fulltext,org.h2.jdbcx,org.h2.tools,org.h2.util Is there another way of getting to the error codes? /Martin -- 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.
