|
lintel 0.2.0
|
#include <PoolNotFoundException.h>
Public Member Functions | |
| PoolNotFoundException (std::string message) | |
Public Member Functions inherited from lintel::db::SQLException | |
| SQLException ()=delete | |
| SQLException (std::string message) | |
| const char * | what () const noexcept override |
Thrown when ConnectionPoolRegistry is asked for a pool that was never registered.
The registry never creates a pool implicitly: a name without a configured DatabaseConnectionEntry (or an entry with poolSize=0) has no pool, and asking for it is a programming or configuration error rather than a reason to connect somewhere unexpected.
|
inlineexplicit |
| message | description of the missing pool |