PdfException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException

public class PdfException extends System.ApplicationException

Represents errors that occur during PDF application execution.

Constructors

ConstructorDescription
PdfException()Initializes a new instance of the PdfException class.
PdfException(String message)Initializes a new instance of the PdfException class.
PdfException(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.

PdfException()

public PdfException()

Initializes a new instance of the PdfException class.

PdfException(String message)

public PdfException(String message)

Initializes a new instance of the PdfException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

PdfException(String message, Throwable innerException)

public PdfException(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