//readium-lcp/org.readium.r2.lcp/LcpException
LcpException¶
[androidJvm]\ sealed class LcpException : UserException
Types¶
Name | Summary |
---|---|
Companion | [androidJvm] object Companion |
Container | [androidJvm] sealed class Container : LcpException Errors while reading or writing a LCP container (LCPL, EPUB, LCPDF, etc.) |
CrlFetching | [androidJvm] object CrlFetching : LcpException Failed to retrieve the Certificate Revocation List. |
Decryption | [androidJvm] sealed class Decryption : LcpException |
LicenseIntegrity | [androidJvm] sealed class LicenseIntegrity : LcpException An error occurred while checking the integrity of the License, it can't be retrieved. |
LicenseInteractionNotAvailable | [androidJvm] object LicenseInteractionNotAvailable : LcpException The interaction is not available with this License. |
LicenseProfileNotSupported | [androidJvm] object LicenseProfileNotSupported : LcpException This License's profile is not supported by liblcp. |
LicenseStatus | [androidJvm] sealed class LicenseStatus : LcpException Errors while checking the status of the License, using the Status Document. |
Network | [androidJvm] class Network(val cause: Throwable?) : LcpException A network request failed with the given exception. |
Parsing | [androidJvm] sealed class Parsing : LcpException Errors while parsing the License or Status JSON Documents. |
Renew | [androidJvm] sealed class Renew : LcpException Errors while renewing a loan. |
Return | [androidJvm] sealed class Return : LcpException Errors while returning a loan. |
Runtime | [androidJvm] class Runtime(val message: String) : LcpException An unexpected LCP exception occurred. Please post an issue on r2-lcp-kotlin with the error message and how to reproduce it. |
Unknown | [androidJvm] class Unknown(val cause: Throwable?) : LcpException An unknown low-level exception was reported. |
Functions¶
Name | Summary |
---|---|
addSuppressed | [androidJvm] fun addSuppressed(p0: Throwable) |
fillInStackTrace | [androidJvm] open fun fillInStackTrace(): Throwable |
getLocalizedMessage | [androidJvm] open fun getLocalizedMessage(): String |
getStackTrace | [androidJvm] open fun getStackTrace(): Array<StackTraceElement> |
getSuppressed | [androidJvm] fun getSuppressed(): Array<Throwable> |
getUserMessage | [androidJvm] open fun getUserMessage(context: Context, includesCauses: Boolean): String |
initCause | [androidJvm] open fun initCause(p0: Throwable): Throwable |
printStackTrace | [androidJvm] open fun printStackTrace() open fun printStackTrace(p0: PrintStream) open fun printStackTrace(p0: PrintWriter) |
setStackTrace | [androidJvm] open fun setStackTrace(p0: Array<StackTraceElement>) |
Properties¶
Name | Summary |
---|---|
cause | [androidJvm] open val cause: Throwable? |
message | [androidJvm] open val message: String? |
Inheritors¶
Name |
---|
LicenseInteractionNotAvailable |
LicenseProfileNotSupported |
CrlFetching |
Network |
Runtime |
Unknown |
LicenseStatus |
Renew |
Return |
Parsing |
Container |
LicenseIntegrity |
Decryption |
Extensions¶
Name | Summary |
---|---|
errorDescription | [androidJvm] val LcpException.~~errorDescription~~: String? |