OpeningException class

Errors occurring while opening a Publication.

Inheritance

Properties

args List<Object>
finalinherited
cause Object?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
quantity int?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userMessageId String
finalinherited

Methods

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

incorrectCredentials OpeningException
The provided credentials are incorrect and we can't open the publication in a restricted state (e.g. for a password-protected ZIP).
no setter
notFound OpeningException
The publication file was not found on the file system.
no setter
unsupportedFormat OpeningException
The file format could not be recognized by any parser.
no setter

Static Methods

forbidden(Exception cause) OpeningException
We're not allowed to open the publication at all, for example because it expired.
parsingFailed(Exception cause) OpeningException
The publication parser failed with the given underlying exception.
unavailable(Exception cause) OpeningException
The publication can't be opened at the moment, for example because of a networking error. This error is generally temporary, so the operation may be retried or postponed.