Package org.apache.poi.openxml4j.exceptions
-
Exception Summary 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 allODFNotOfficeXmlFileException This exception is thrown when we are given an ODF-based file (eg OpenOffice .ods) instead of an actually OOXML (Office Open XML) fileOLE2NotOfficeXmlFileException This exception is thrown when we are given an OLE2-based file (eg Excel .xls) instead of an actually OOXML (Office Open XML) fileOpenXML4JException 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 aPackagePart
but one already exists with that name.