InvalidFormatException
Leave feedback
On this page
Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException
public final class InvalidFormatException extends RuntimeException
The exception that is thrown when user tries to open some document with format-specific options that are incompatible with original document format.
For example, this exception will be thrown, if try to open Spreadsheet document with WordProcessing document options.
| Constructor | Description |
|---|---|
| InvalidFormatException() | |
| InvalidFormatException(String message) | |
| InvalidFormatException(String message, RuntimeException inner) |
public InvalidFormatException()
public InvalidFormatException(String message)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| message | java.lang.String |
public InvalidFormatException(String message, RuntimeException inner)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| message | java.lang.String | |
| inner | java.lang.RuntimeException |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.