-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.Error
public final class ReadError.Decoding extends ReadError
Content doesn't match what was expected and cannot be interpreted.
For instance, this error can be reported if a ZIP archive looks invalid, a publication doesn't conform to its format, or a JSON resource cannot be decoded.
-
-
Constructor Summary
Constructors Constructor Description ReadError.Decoding(String message)ReadError.Decoding(Exception exception)ReadError.Decoding(Error cause)
-
Method Summary
Modifier and Type Method Description StringgetMessage()An error message. ErrorgetCause()The cause error or null if there is none. -
-
Method Detail
-
getMessage
String getMessage()
An error message.
-
-
-
-