public class InvalidPdfException extends IOException
| Constructor and 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 and 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 
               |  
          
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidPdfException(String message)
message - the reason why the document isn't a PDF document according to iText. 
           Copyright © 1998–2019. All rights reserved.