Class that wraps StandardExceptions in a SQLException.
This is used to make any public API methods always
throw SQLException rather than a random collection.
This wrapping is also special cased by TypeStatementException
to avoid double wrapping of some errors.