Inheritance: System.IO.IOException
Esempio n. 1
0
 private byte[] Uncompress(byte[] b)
 {
     try
     {
         return(CompressionTools.Decompress(b));
     }
     catch (Exception e)
     {
         // this will happen if the field is not compressed
         CorruptIndexException newException = new CorruptIndexException("field data are in wrong format: " + e.ToString(), e);
         throw newException;
     }
 }
Esempio n. 2
0
		private byte[] Uncompress(byte[] b)
		{
			try
			{
				return CompressionTools.Decompress(b);
			}
			catch (Exception e)
			{
				// this will happen if the field is not compressed
				CorruptIndexException newException = new CorruptIndexException("field data are in wrong format: " + e.ToString(), e);
				throw newException;
			}
		}