public class LimitMemoryException
extends com.aspose.ms.System.OutOfMemoryException
The limit memory exception. Occurs when memory usage should be reduced.
Constructor and Description |
---|
LimitMemoryException(String message)
Initializes a new instance of the
LimitMemoryException class. |
LimitMemoryException(String message,
long reduceMemoryFactor)
Initializes a new instance of the
LimitMemoryException class. |
LimitMemoryException(String message,
Throwable innerException)
Initializes a new instance of the
LimitMemoryException class. |
LimitMemoryException(String message,
Throwable innerException,
int reduceMemoryFactor)
Initializes a new instance of the
LimitMemoryException class. |
Modifier and Type | Method and Description |
---|---|
long |
getReduceMemoryFactor()
Gets or sets the reduce memory factor.
|
void |
setReduceMemoryFactor(long value)
Gets or sets the reduce memory factor.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LimitMemoryException(String message)
Initializes a new instance of the LimitMemoryException
class.
message
- The exception message.public LimitMemoryException(String message, Throwable innerException)
Initializes a new instance of the LimitMemoryException
class.
message
- The exception message.innerException
- The inner exception.public LimitMemoryException(String message, long reduceMemoryFactor)
Initializes a new instance of the LimitMemoryException
class.
message
- The exception message.reduceMemoryFactor
- The reduce memory factor.public LimitMemoryException(String message, Throwable innerException, int reduceMemoryFactor)
Initializes a new instance of the LimitMemoryException
class.
message
- The exception message.innerException
- The inner exception.reduceMemoryFactor
- The reduce memory factor.