-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.Error
public final class ReadError.OutOfMemory extends ReadError
Content could not be successfully read because there is not enough memory available.
This error can be produced while trying to put the content into memory or while trying to decode it.
-
-
Field Summary
Fields Modifier and Type Field Description private final ThrowableError<OutOfMemoryError>causeprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description ReadError.OutOfMemory(OutOfMemoryError error)ReadError.OutOfMemory(ThrowableError<OutOfMemoryError> cause)
-
Method Summary
Modifier and Type Method Description ThrowableError<OutOfMemoryError>getCause()The cause error or null if there is none. StringgetMessage()An error message. -
-
Constructor Detail
-
ReadError.OutOfMemory
ReadError.OutOfMemory(OutOfMemoryError error)
-
ReadError.OutOfMemory
ReadError.OutOfMemory(ThrowableError<OutOfMemoryError> cause)
-
-
Method Detail
-
getCause
ThrowableError<OutOfMemoryError> getCause()
The cause error or null if there is none.
-
getMessage
String getMessage()
An error message.
-
-
-
-