Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8826ced authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

better error message

parent b8a1d4ae
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ class AgeRatingProvider : ContentProvider() {
        selection: String?,
        selectionArgs: Array<out String>?
    ): Int {
        throw UnsupportedOperationException("Not supported")
        throw UnsupportedOperationException("Update operation is not supported by AgeRatingProvider")
    }

    override fun getType(uri: Uri): String {
@@ -204,11 +204,11 @@ class AgeRatingProvider : ContentProvider() {
    }

    override fun insert(uri: Uri, values: ContentValues?): Uri? {
        throw UnsupportedOperationException("Not supported")
        throw UnsupportedOperationException("Insert operation is not supported by AgeRatingProvider")
    }

    override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int {
        throw UnsupportedOperationException("Not supported")
        throw UnsupportedOperationException("Delete operation is not supported by AgeRatingProvider")
    }

}