diff --git a/app/src/main/java/com/willowtree/vocable/PhrasesUseCase.kt b/app/src/main/java/com/willowtree/vocable/PhrasesUseCase.kt index aa4a9934..76aac91a 100644 --- a/app/src/main/java/com/willowtree/vocable/PhrasesUseCase.kt +++ b/app/src/main/java/com/willowtree/vocable/PhrasesUseCase.kt @@ -79,6 +79,10 @@ class PhrasesUseCase( localizedUtterance = localizedUtterance, sortOrder = legacyPhrasesRepository.getPhrasesForCategory(parentCategoryId).size )) + } else { + throw Exception("The 'Recents' category is not a true category -" + + " it is a filter applied to true categories. Therefore, saving phrases from " + + "the Recents 'category' is not supported.") } } } \ No newline at end of file