Exception | Description |
---|---|
InvalidFormatException | |
InvalidOperationException |
Throw when an invalid operation is done.
|
NotOfficeXmlFileException |
This exception is thrown when we try to open a file that doesn't
seem to actually be an OOXML (Office Open XML) file after all
|
ODFNotOfficeXmlFileException |
This exception is thrown when we are given an ODF-based file
(eg OpenOffice .ods) instead of an actually OOXML (Office Open XML) file
|
OLE2NotOfficeXmlFileException |
This exception is thrown when we are given an OLE2-based file
(eg Excel .xls) instead of an actually OOXML (Office Open XML) file
|
OpenXML4JException |
Global exception throws when a critical error occurs.
|
OpenXML4JRuntimeException |
Global exception throws when a critical error occurs (this exception is
set as Runtime in order not to force the user to manage the exception in a
try/catch).
|
PartAlreadyExistsException |
Throw when trying to create a
PackagePart but one
already exists with that name. |
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.