| 56 | } |
| 57 | |
| 58 | Collection CollectionDatabase::collection(String const& collectionName) const { |
| 59 | try { |
| 60 | return m_collections.get(collectionName); |
| 61 | } catch (MapException const& e) { |
| 62 | throw CollectionDatabaseException(strf("Collection '{}' not found", collectionName), e); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | List<Collectable> CollectionDatabase::collectables(String const& collectionName) const { |
| 67 | try { |
no test coverage detected