public override Slot CommittedSlot(int id) { if (TriggersException()) { _exceptionFactory.ThrowException(); } return(base.CommittedSlot(id)); }
/// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public override int Read(long pos, byte[] bytes, int length) { if (TriggersException()) { _exceptionFactory.ThrowException(); } return(_bin.Read(pos, bytes, length)); }