Make sure that we don't lose any exceptions here. See other examples where we use SQLException.setNextException() to capture any nested exceptions and modify this like those.