Maven module :un.storage : archive-xz :
Class : un.storage.archive.xz.MemoryLimitException
Extends/Implements : un.storage.archive.xz.XZIOException
Subclasses : -

Thrown when the memory usage limit given to the XZ decompressor
would be exceeded.


The amount of memory required and the memory usage limit are
included in the error detail message in human readable format.



Variables : -
Functions : MemoryLimitException, getMemoryNeeded, getMemoryLimit




Creates a new MemoryLimitException.


The amount of memory needed and the memory usage limit are
included in the error detail message.

@param memoryNeeded amount of memory needed as kibibytes (KiB)
@param memoryLimit specified memory usage limit as kibibytes (KiB)

public void MemoryLimitException (int memoryNeeded, int memoryLimit)


Gets how much memory is required to decompress the data.
return   amount of memory needed as kibibytes (KiB)
public int getMemoryNeeded ()


Gets what the memory usage limit was at the time the exception
was created.
return   memory usage limit as kibibytes (KiB)
public int getMemoryLimit ()