public class InvalidImageException extends RuntimeException
Constructor and Description |
---|
InvalidImageException(String message)
Creates an instance with a message and no cause
|
InvalidImageException(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, toString
public InvalidImageException(String message)
message
- the reason why the document isn't a PDF document according to iText.
Copyright © 1998–2022. All rights reserved.