12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #if UNMANAGED
- namespace SevenZip
- {
- using System;
- using System.Runtime.Serialization;
-
-
-
- [Serializable]
- public class SevenZipCompressionFailedException : SevenZipException
- {
-
-
-
- public const string DEFAULT_MESSAGE = "The compression has failed for an unknown reason with code ";
-
-
-
- public SevenZipCompressionFailedException() : base(DEFAULT_MESSAGE) { }
-
-
-
-
- public SevenZipCompressionFailedException(string message) : base(DEFAULT_MESSAGE, message) { }
-
-
-
-
-
- public SevenZipCompressionFailedException(string message, Exception inner)
- : base(DEFAULT_MESSAGE, message, inner) { }
-
-
-
-
-
- protected SevenZipCompressionFailedException(
- SerializationInfo info, StreamingContext context)
- : base(info, context) { }
- }
- }
- #endif
|