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

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.