private ProgressHandler prepareStep() throws SQLiteException { clearBindStreams(true); clearColumnStreams(); ProgressHandler ph = myController.getProgressHandler(); ph.reset(); synchronized (this) { if (myCancelled) throw new SQLiteInterruptedException(); myProgressHandler = ph; } return ph; }