« MongoDB\Driver\Exception\CommandException::getResultDocument
MongoDB\Driver\Exception\ConnectionTimeoutException »

The MongoDB\Driver\Exception\ConnectionException class

(mongodb >= 1.0.0)

はじめに

Base class for exceptions thrown when the driver fails to establish a database connection.

クラス概要

class MongoDB\Driver\Exception\ConnectionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception {
/* 継承したプロパティ */
protected ?array $errorLabels;
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* 継承したメソッド */
final public function Exception::getMessage(): string
final public function Exception::getPrevious(): ?Throwable
final public function Exception::getCode(): int
final public function Exception::getFile(): string
final public function Exception::getLine(): int
final public function Exception::getTrace(): array
final public function Exception::getTraceAsString(): string
public function Exception::__toString(): string
private function Exception::__clone(): void
}
関連キーワード:
Exception   MongoDB   Driver   final   protected   ConnectionException   private   RuntimeException   継承   Throwable   CommandException   getResultDocument   ConnectionTimeoutException   mongodb   Base   exceptions   thrown   driver   fails   establish   database   connection   概要   extends   implements
関連する関数・ページ:
class.mongodb-driver-exception-connectiontimeoutexception   class.mongodb-driver-exception-sslconnectionexception   class.mongodb-driver-exception-authenticationexception   class.mongodb-driver-exception-encryptionexception   class.mongodb-driver-exception-serverexception   class.mongodb-driver-exception-executiontimeoutexception