working on backend-side translations
This commit is contained in:
@@ -83,7 +83,7 @@ public class SqliteDb extends BaseDb implements ContactDb{
|
||||
rs.close();
|
||||
return contacts;
|
||||
} catch (SQLException e) {
|
||||
throw databaseException(FAILED_TO_LOAD_CONTACTS_OF_USER,userId).causedBy(e);
|
||||
throw databaseException(FAILED_TO_LOAD_ENTITIES_OF_OWNER,"contacts",userId).causedBy(e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ public class SqliteDb extends BaseDb implements ContactDb{
|
||||
if (contact != null) return contact;
|
||||
throw notFound(FAILED_TO_LOAD_ENTITY_BY_ID, "contact", contactId);
|
||||
} catch (SQLException e) {
|
||||
throw databaseException(FAILED_TO_LOAD_CONTACTS_OF_USER,userId).causedBy(e);
|
||||
throw databaseException(FAILED_TO_LOAD_ENTITIES_OF_OWNER,"contacts",userId).causedBy(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user