lbug 0.16.1

An in-process property graph database management system built for query speed and scalability
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "common/database_lifecycle_manager.h"

#include "common/exception/runtime.h"

namespace lbug {
namespace common {
void DatabaseLifeCycleManager::checkDatabaseClosedOrThrow() const {
    if (isDatabaseClosed) {
        throw RuntimeException(
            "The current operation is not allowed because the parent database is closed.");
    }
}
} // namespace common
} // namespace lbug