-
- All Implemented Interfaces:
-
java.io.Serializable
public class SearchException extends UserException
Represents an error which might occur during a search activity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSearchException.PublicationNotSearchableThe publication is not searchable.
public final classSearchException.BadQueryThe provided search query cannot be handled by the service.
public final classSearchException.ResourceErrorAn error occurred while accessing one of the publication's resources.
public final classSearchException.NetworkErrorAn error occurred while performing an HTTP request.
public classSearchException.CancelledThe search was cancelled by the caller.
For example, when a coroutine or a network request is cancelled.
public final classSearchException.OtherFor any other custom service error.
public classSearchException.Companion
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class org.readium.r2.shared.UserException
getUserMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-