Packages

 

com.aspose.imaging.coreexceptions

Class LimitMemoryException

  • All Implemented Interfaces:
    Serializable


    public class LimitMemoryException
    extends com.aspose.ms.System.OutOfMemoryException

    The limit memory exception. Occurs when memory usage should be reduced.

    See Also:
    Serialized Form
    • Constructor Detail

      • LimitMemoryException

        public LimitMemoryException(String message)

        Initializes a new instance of the LimitMemoryException class.

        Parameters:
        message - The exception message.
      • LimitMemoryException

        public LimitMemoryException(String message,
                                    Throwable innerException)

        Initializes a new instance of the LimitMemoryException class.

        Parameters:
        message - The exception message.
        innerException - The inner exception.
      • LimitMemoryException

        public LimitMemoryException(String message,
                                    long reduceMemoryFactor)

        Initializes a new instance of the LimitMemoryException class.

        Parameters:
        message - The exception message.
        reduceMemoryFactor - The reduce memory factor.
      • LimitMemoryException

        public LimitMemoryException(String message,
                                    Throwable innerException,
                                    int reduceMemoryFactor)

        Initializes a new instance of the LimitMemoryException class.

        Parameters:
        message - The exception message.
        innerException - The inner exception.
        reduceMemoryFactor - The reduce memory factor.
    • Method Detail

      • getReduceMemoryFactor

        public long getReduceMemoryFactor()

        Gets or sets the reduce memory factor.

        Value: The reduce memory factor.
      • setReduceMemoryFactor

        public void setReduceMemoryFactor(long value)

        Gets or sets the reduce memory factor.

        Value: The reduce memory factor.