@Override
void writePage(final ByteBuffer bb, final long page) throws PersistitIOException, InvalidPageAddressException,
ReadOnlyVolumeException, VolumeClosedException {
if (page < 0 || page >= _nextAvailablePage) {
throw new InvalidPageAddressException("Page " + page + " out of bounds [0-" + _nextAvailablePage + "]");
}
if (isReadOnly()) {
throw new ReadOnlyVolumeException(getPath());
}