//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(expected = UnderlyingStorageException.class) public void staticGetRecordMustThrowOnPageOverflow() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void StaticGetRecordMustThrowOnPageOverflow() { File metaDataFile = CreateMetaDataFile(); MetaDataStore.SetRecord(_pageCacheWithFakeOverflow, metaDataFile, MetaDataStore.Position.FirstGraphProperty, 4242); _fakePageCursorOverflow = true; MetaDataStore.GetRecord(_pageCacheWithFakeOverflow, metaDataFile, MetaDataStore.Position.FirstGraphProperty); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void writeCorrectMetaDataRecord(java.io.File file, MetaDataStore.Position[] positions, long storeVersion) throws java.io.IOException private void WriteCorrectMetaDataRecord(File file, MetaDataStore.Position[] positions, long storeVersion) { foreach (MetaDataStore.Position position in positions) { if (position == MetaDataStore.Position.StoreVersion) { MetaDataStore.SetRecord(_pageCache, file, position, storeVersion); } else { MetaDataStore.SetRecord(_pageCache, file, position, position.ordinal() + 1); } } }