InvalidFormatException
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.
Constructors
Constructor | Description |
---|---|
InvalidFormatException() | |
InvalidFormatException(String message) | |
InvalidFormatException(String message, RuntimeException inner) |
InvalidFormatException()
public InvalidFormatException()
InvalidFormatException(String message)
public InvalidFormatException(String message)
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String |
InvalidFormatException(String message, RuntimeException inner)
public InvalidFormatException(String message, RuntimeException inner)
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | |
inner | java.lang.RuntimeException |