java.io.Serializable
public class InvalidImageException
extends java.lang.RuntimeException
Constructor | Description |
---|---|
InvalidImageException(java.lang.String message) |
Creates an instance with a message and no cause
|
InvalidImageException(java.lang.String message,
java.lang.Throwable cause) |
Creates an exception with a message and a cause
|
Modifier and Type | Method | 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 InvalidImageException(java.lang.String message)
message
- the reason why the document isn't a PDF document according to iText.public InvalidImageException(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 © 1998–2018. All rights reserved.