Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 2.0.0
belongs to Maven artifact androidx.room:room-rxjava2:2.0.0-rc01

EmptyResultSetException

public class EmptyResultSetException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.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 2.0.0
public EmptyResultSetException (String message)

Constructs a new EmptyResultSetException with the exception.

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