public class InvalidPdfException
extends java.io.IOException
Constructor and Description |
---|
InvalidPdfException(java.lang.String message)
Creates an instance with a message and no cause
|
InvalidPdfException(java.lang.String message,
java.lang.Throwable cause)
Creates an exception with a message and a cause
|
Modifier and Type | Method and Description |
---|---|
java.lang.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
|
public InvalidPdfException(java.lang.String message)
message
- the reason why the document isn't a PDF document according to iText.public InvalidPdfException(java.lang.String message, java.lang.Throwable cause)
message
- the reason why the document isn't a PDF document according to iText.cause
- the cause of the exception, if anypublic java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
Copyright © 2013. All Rights Reserved.