-
- All Implemented Interfaces:
public interface WarningRepresents a non-fatal warning message that can be raised by a Readium library.
For example, while parsing an EPUB we, might want to report issues in the publication without failing the whole parsing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWarning.SeverityLevelIndicates how the user experience might be affected by a warning.
-
Method Summary
Modifier and Type Method Description abstract StringgetTag()Tag used to group similar warnings together. abstract StringgetMessage()Localized user-facing message describing the issue. abstract Warning.SeverityLevelgetSeverity()Indicates the severity level of this warning. -
-
Method Detail
-
getTag
abstract String getTag()
Tag used to group similar warnings together.
For example json, metadata, etc.
-
getMessage
abstract String getMessage()
Localized user-facing message describing the issue.
-
getSeverity
abstract Warning.SeverityLevel getSeverity()
Indicates the severity level of this warning.
-
-
-
-