ContainerException class

Errors while reading or writing a LCP container (LCPL, EPUB, LCPDF, etc.)

Inheritance
Implemented types

Properties

args List<Object>
finalinherited
cause Object?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
finalinherited
openFailed ContainerException
Can't access the container, it's format is wrong.
no setter
path String?
final
quantity int?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userMessageId String
finalinherited

Methods

fileNotFound(String path) ContainerException
The file at given relative path is not found in the Container.
getUserMessage(LocalizationsRepository localizationsRepository, {bool includesCauses = true}) String
Gets the localized user-facing message for this exception.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFailed(String path) ContainerException
Can't read the file at given relative path in the Container.
toString() String
A string representation of this object.
inherited
writeFailed(String path) ContainerException
Can't write the file at given relative path in the Container.

Operators

operator ==(Object other) bool
The equality operator.
inherited