Thrown when the archive is a valid ZIP but its XML content is malformed or internally inconsistent.
Examples: a worksheet missing its </sheetData> closing tag, a sheet
without a name, or a corrupt styles part. The container opened, but its
contents could not be interpreted.
- Inheritance
-
- Object
- ExcelException
- ExcelFormatException
Constructors
- ExcelFormatException(String message, {String? part, Object? cause})
-
Creates an ExcelFormatException describing malformed XML content.
const
Properties
- cause → Object?
-
The underlying error this one wraps, when available.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable description of what went wrong.
finalinherited
- part → String?
-
The package part involved (e.g.
xl/worksheets/sheet1.xml), when known.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited