dsdecmp/CSharp/DSDecmp/Exceptions/InputTooLargeException.cs
barubary d64137221a C#: A step into a new system, where game-specific formats can be defined as plugins, preventing users from having to download DSDecmp itself again and again. Such plugins must be stores in a 'Plugins' folder in the same location as the DSDecmp.exe.
To keep the base program mobile, all native NDS formats do not require plugins.

The 8-bit Huffman format cannot be used to compress at the moment; thanks to CUE a bug has been found where the offset-field of a node overflows, corrupting the compressed file.
2011-11-13 16:14:45 +00:00

21 lines
687 B
C#

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