if (e instanceof SQLException)
throw new SDBExceptionSQL("Loader thread exception", (SQLException) e);
else if (e instanceof RuntimeException)
throw (RuntimeException) e;
else
throw new SDBException("Loader thread exception", e);
}
if (!commitThread.isAlive())
throw new SDBException("Thread has died");
}