Xceed Real-Time Zip for .NET Documentation
CompressionException Class
Members 


Xceed.Compression Assembly > Xceed.Compression Namespace : CompressionException Class
Exception that is thrown when there is a problem compressing or decompressing data.
Syntax
'Declaration
 
Public Class CompressionException 

   Inherits System.IO.IOException

   Implements System.Runtime.InteropServices._ExceptionSystem.Runtime.Serialization.ISerializable 
'Usage
 
Dim instance As CompressionException
Remarks

This exception serves as the base class for all custom exceptions defined in the Xceed.Compression namespace.

Since this exception is thrown by the CompressedStream object, it derives from System.IO.IOException. This is because any code that use streams will expect an IOException to be thrown in case of errors while working with the stream.

Inheritance Hierarchy

System.Object
   System.Exception
      System.SystemException
         System.IO.IOException
            Xceed.Compression.CompressionException
               Xceed.Compression.CompressionInternalException

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CompressionException Members
Xceed.Compression Namespace