2011-04-04 15:07:07 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace DSDecmp
|
|
|
|
|
{
|
2011-11-13 17:14:45 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// An exception indicating that the file cannot be compressed, because the decompressed size
|
|
|
|
|
/// cannot be represented in the current compression format.
|
|
|
|
|
/// </summary>
|
2011-04-04 15:07:07 +02:00
|
|
|
|
public class InputTooLargeException : Exception
|
|
|
|
|
{
|
2011-11-13 17:14:45 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a new exception that indicates that the input is too big to be compressed.
|
|
|
|
|
/// </summary>
|
2011-04-04 15:07:07 +02:00
|
|
|
|
public InputTooLargeException()
|
|
|
|
|
: base("The compression ratio is not high enough to fit the input "
|
|
|
|
|
+ "in a single compressed file.") { }
|
|
|
|
|
}
|
|
|
|
|
}
|