InvalidPdfFileFormatException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException, com.aspose.pdf.exceptions.PdfException, com.aspose.pdf.exceptions.InvalidFileFormatException

public final class InvalidPdfFileFormatException extends InvalidFileFormatException

The exception that is thrown when a pdf file is invalid.

Constructors

ConstructorDescription
InvalidPdfFileFormatException(String message)Initializes a new instance of the InvalidPdfFileFormatException class.

InvalidPdfFileFormatException(String message)

public InvalidPdfFileFormatException(String message)

Initializes a new instance of the InvalidPdfFileFormatException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.