lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::db::PoolNotFoundException Class Reference

#include <PoolNotFoundException.h>

Inheritance diagram for lintel::db::PoolNotFoundException:
lintel::db::SQLException

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PoolNotFoundException()

lintel::db::PoolNotFoundException::PoolNotFoundException ( std::string  message)
inlineexplicit
Parameters
messagedescription of the missing pool

The documentation for this class was generated from the following file: