The MongoDB\Driver\Exception\SSLConnectionException class (deprecated)

(mongodb >= 1.0.0)

Warning

This exception class is deprecated and may be removed in a future major version. The driver has never thrown this exception.

Introduction

Thrown when the driver fails to establish an SSL connection with the server.

Class synopsis

finalclassMongoDB\Driver\Exception\SSLConnectionExceptionextendsMongoDB\Driver\Exception\ConnectionExceptionimplementsMongoDB\Driver\Exception\Exception {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top