added in version 1.1.0
belongs to Maven artifact android.arch.persistence.room:rxjava2:1.1.0-beta2

EmptyResultSetException

public class EmptyResultSetException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.arch.persistence.room.EmptyResultSetException


Thrown by Room when the query needs to return a result (e.g. in a Single<T> query) but the returned result set from the database is empty.

Summary

Public constructors

EmptyResultSetException(String message)

Constructs a new EmptyResultSetException with the exception.

Inherited methods

final void addSuppressed(Throwable arg0)
Throwable fillInStackTrace()
Throwable getCause()
String getLocalizedMessage()
String getMessage()
StackTraceElement[] getStackTrace()
final Throwable[] getSuppressed()
Throwable initCause(Throwable arg0)
void printStackTrace()
void printStackTrace(PrintWriter arg0)
void printStackTrace(PrintStream arg0)
void setStackTrace(StackTraceElement[] arg0)
String toString()
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

Public constructors

EmptyResultSetException

added in version 1.1.0
EmptyResultSetException (String message)

Constructs a new EmptyResultSetException with the exception.

Parameters
message String: The SQL query which didn't return any results.