PdfOutOfMemoryException

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

public class PdfOutOfMemoryException extends System.OutOfMemoryException

Represents OutOfMemory errors that occur during PDF application execution.

Constructors

ConstructorDescription
PdfOutOfMemoryException(String message)Initializes a new instance of the OutOfMemoryException class.
PdfOutOfMemoryException(String message, Throwable innerException)Initializes a new instance of the PdfException class with a specified error message and a reference to the inner exception that is the cause of this exception.

PdfOutOfMemoryException(String message)

public PdfOutOfMemoryException(String message)

Initializes a new instance of the OutOfMemoryException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

PdfOutOfMemoryException(String message, Throwable innerException)

public PdfOutOfMemoryException(String message, Throwable innerException)

Initializes a new instance of the PdfException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe error message that explains the reason for the exception.
innerExceptionjava.lang.ThrowableThe exception that is the cause of the current exception, or a null reference