Class SharpSevenZipCompressionFailedException
Exception class for fail to create an archive in SharpSevenZipCompressor.
Implements
Inherited Members
Namespace: SharpSevenZip.Exceptions
Assembly: SharpSevenZip.dll
Syntax
[Serializable]
public class SharpSevenZipCompressionFailedException : SharpSevenZipException, ISerializable
Constructors
| Edit this page View SourceSharpSevenZipCompressionFailedException()
Initializes a new instance of the SharpSevenZipCompressionFailedException class
Declaration
public SharpSevenZipCompressionFailedException()
SharpSevenZipCompressionFailedException(SerializationInfo, StreamingContext)
Initializes a new instance of the SharpSevenZipCompressionFailedException class
Declaration
protected SharpSevenZipCompressionFailedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | All data needed for serialization or deserialization |
StreamingContext | context | Serialized stream descriptor |
SharpSevenZipCompressionFailedException(string)
Initializes a new instance of the SharpSevenZipCompressionFailedException class
Declaration
public SharpSevenZipCompressionFailedException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Additional detailed message |
SharpSevenZipCompressionFailedException(string, Exception)
Initializes a new instance of the SharpSevenZipCompressionFailedException class
Declaration
public SharpSevenZipCompressionFailedException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | Additional detailed message |
Exception | inner | Inner exception occurred |
Fields
| Edit this page View SourceDEFAULT_MESSAGE
Exception default message which is displayed if no extra information is specified
Declaration
public const string DEFAULT_MESSAGE = "The compression has failed for an unknown reason with code "
Field Value
Type | Description |
---|---|
string |