class DatabaseConnectionRefusedException

Same name in other branches
  1. 10 core/lib/Drupal/Core/Database/DatabaseConnectionRefusedException.php \Drupal\Core\Database\DatabaseConnectionRefusedException

Exception thrown if server refuses connection.

Hierarchy

Expanded class hierarchy of DatabaseConnectionRefusedException

2 files declare their use of DatabaseConnectionRefusedException
Connection.php in core/modules/mysql/src/Driver/Database/mysql/Connection.php
MigrateMessageController.php in core/modules/migrate/src/Controller/MigrateMessageController.php

File

core/lib/Drupal/Core/Database/DatabaseConnectionRefusedException.php, line 8

Namespace

Drupal\Core\Database
View source
class DatabaseConnectionRefusedException extends \RuntimeException implements DatabaseException {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.