@Override
    public void revertTo(final long pRevision) throws TTException {
        checkState(!mDelegate.isClosed(), "Transaction is already closed.");
        checkArgument(pRevision >= 0, "Parameter must be >= 0, but was %s", pRevision);
        getPtx().close();
        // Reset internal transaction state to new uber page.
        mDelegate.setPageTransaction(mSession.beginBucketWtx(pRevision));
        moveTo(ROOT_NODE);

    }
@ Override public void revertTo ( final long pRevision ) throws TTException { checkState ( ! mDelegate . isClosed ( ) , "Transaction is already closed." ) ; checkArgument ( pRevision >= 0 , "Parameter must be >= 0, but was %s" , pRevision ) ; getPtx ( ) . close ( ) ; mDelegate . setPageTransaction ( mSession . beginBucketWtx ( pRevision ) ) ; moveTo ( ROOT_NODE ) ; }
{@inheritDoc}

@throws TTUsageException
if paramRevision < 0 or paramRevision > maxCommitedRev
@throws TTIOException
if an I/O operation fails