com.lowagie.text.exceptions

Class InvalidPdfException

public class InvalidPdfException extends IOException

Typed exception used when opening an existing PDF document. Gets thrown when the document isn't a valid PDF document.

Since: 2.1.5

Field Summary
static longserialVersionUID
a serial version UID
Constructor Summary
InvalidPdfException(String message)
Creates an instance of a NoPdfException.

Field Detail

serialVersionUID

private static final long serialVersionUID
a serial version UID

Constructor Detail

InvalidPdfException

public InvalidPdfException(String message)
Creates an instance of a NoPdfException.

Parameters: message the reason why the document isn't a PDF document according to iText.