Serializable
UnsupportedPdfException
public class InvalidPdfException extends IOException
Constructor | Description |
---|---|
InvalidPdfException(String message) |
Creates an instance with a message and no cause
|
InvalidPdfException(String message,
Throwable cause) |
Creates an exception with a message and a cause
|
Modifier and Type | Method | Description |
---|---|---|
Throwable |
getCause() |
This method is included (instead of using super(message, cause) in the constructors) to support backwards compatabilty with
JDK 1.5, which did not have cause constructors for Throwable
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPdfException(String message)
message
- the reason why the document isn't a PDF document according to iText.Copyright © 2018. All rights reserved.