public function historizeBeforeSwap($action, $languageMask)
{
try {
$this->innerGateway->historizeBeforeSwap($action, $languageMask);
} catch (DBALException $e) {
throw new \RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new \RuntimeException('Database error', 0, $e);
}
}