-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.Error,org.readium.r2.shared.util.data.AccessError
public class HttpError implements AccessError
Represents an error occurring during an HTTP activity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHttpError.MalformedResponseMalformed HTTP response.
public final classHttpError.TimeoutThe client, server or gateways timed out.
public final classHttpError.UnreachableServer could not be reached.
public final classHttpError.RedirectionRedirection failed.
public final classHttpError.SslHandshakeSSL Handshake failed.
public final classHttpError.IOAn unknown networking error.
public final classHttpError.ErrorResponseServer responded with an error status code.
public classHttpError.Companion
-
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.
-
-
-
-