LimitMemoryException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Error, java.lang.VirtualMachineError, java.lang.OutOfMemoryError, com.aspose.ms.System.OutOfMemoryException

public class LimitMemoryException extends System.OutOfMemoryException

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

Constructors

ConstructorDescription
LimitMemoryException(String message)Initializes a new instance of the LimitMemoryException class.
LimitMemoryException(String message, Throwable innerException)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, int reduceMemoryFactor)Initializes a new instance of the LimitMemoryException class.

Methods

MethodDescription
addSuppressed(Throwable arg0)
equals(Object arg0)
fillInStackTrace()
getCause()
getClass()
getInnerException()
getLocalizedMessage()
getMessage()
getReduceMemoryFactor()Gets or sets the reduce memory factor.
getStackTrace()
getSuppressed()
hashCode()
initCause(Throwable arg0)
notify()
notifyAll()
printStackTrace()
printStackTrace(PrintStream arg0)
printStackTrace(PrintWriter arg0)
setReduceMemoryFactor(long value)Gets or sets the reduce memory factor.
setStackTrace(StackTraceElement[] arg0)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LimitMemoryException(String message)

public LimitMemoryException(String message)

Initializes a new instance of the LimitMemoryException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe exception message.

LimitMemoryException(String message, Throwable innerException)

public LimitMemoryException(String message, Throwable innerException)

Initializes a new instance of the LimitMemoryException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe exception message.
innerExceptionjava.lang.ThrowableThe inner exception.

LimitMemoryException(String message, long reduceMemoryFactor)

public LimitMemoryException(String message, long reduceMemoryFactor)

Initializes a new instance of the LimitMemoryException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe exception message.
reduceMemoryFactorlongThe reduce memory factor.

LimitMemoryException(String message, Throwable innerException, int reduceMemoryFactor)

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

Initializes a new instance of the LimitMemoryException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe exception message.
innerExceptionjava.lang.ThrowableThe inner exception.
reduceMemoryFactorintThe reduce memory factor.

addSuppressed(Throwable arg0)

public final synchronized void addSuppressed(Throwable arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Throwable

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

fillInStackTrace()

public synchronized Throwable fillInStackTrace()

Returns: java.lang.Throwable

getCause()

public synchronized Throwable getCause()

Returns: java.lang.Throwable

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getInnerException()

public Throwable getInnerException()

Returns: java.lang.Throwable

getLocalizedMessage()

public String getLocalizedMessage()

Returns: java.lang.String

getMessage()

public String getMessage()

Returns: java.lang.String

getReduceMemoryFactor()

public long getReduceMemoryFactor()

Gets or sets the reduce memory factor.

Value: The reduce memory factor.

Returns: long

getStackTrace()

public StackTraceElement[] getStackTrace()

Returns: java.lang.StackTraceElement[]

getSuppressed()

public final synchronized Throwable[] getSuppressed()

Returns: java.lang.Throwable[]

hashCode()

public native int hashCode()

Returns: int

initCause(Throwable arg0)

public synchronized Throwable initCause(Throwable arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Throwable

Returns: java.lang.Throwable

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

printStackTrace()

public void printStackTrace()

printStackTrace(PrintStream arg0)

public void printStackTrace(PrintStream arg0)

Parameters:

ParameterTypeDescription
arg0java.io.PrintStream

printStackTrace(PrintWriter arg0)

public void printStackTrace(PrintWriter arg0)

Parameters:

ParameterTypeDescription
arg0java.io.PrintWriter

setReduceMemoryFactor(long value)

public void setReduceMemoryFactor(long value)

Gets or sets the reduce memory factor.

Value: The reduce memory factor.

Parameters:

ParameterTypeDescription
valuelong

setStackTrace(StackTraceElement[] arg0)

public void setStackTrace(StackTraceElement[] arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.StackTraceElement[]

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int