Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
MongoDB\Driver\Exception
MongoDB\Driver\Exception\AuthenticationException
MongoDB\Driver\Exception\BulkWriteException
MongoDB\Driver\Exception\BulkWriteCommandException
MongoDB\Driver\Exception\CommandException
MongoDB\Driver\Exception\ConnectionException
MongoDB\Driver\Exception\ConnectionTimeoutException
MongoDB\Driver\Exception\EncryptionException
MongoDB\Driver\Exception\Exception
MongoDB\Driver\Exception\ExecutionTimeoutException
MongoDB\Driver\Exception\InvalidArgumentException
MongoDB\Driver\Exception\LogicException
MongoDB\Driver\Exception\RuntimeException
MongoDB\Driver\Exception\ServerException
MongoDB\Driver\Exception\UnexpectedValueException
Class Tree
Deprecated
MongoDB\Driver\Exception\SSLConnectionException
MongoDB\Driver\Exception\WriteException
MongoDB\Driver\Exception\ConnectionTimeoutException
MongoDB\Driver\Exception\Exception
MongoDB\Driver\Exception
Last updated: Mon, 26 Oct 2026
The MongoDB\Driver\Exception\EncryptionException class
(mongodb >= 1.7.0)
Introduction
Base class for exceptions thrown during client-side encryption.
Class synopsis
class
MongoDB\Driver\Exception\EncryptionException
extends
MongoDB\Driver\Exception\RuntimeException
implements
MongoDB\Driver\Exception\Exception
{
/* Inherited properties */
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
;
/* Inherited methods */
final
public
function
MongoDB\Driver\Exception\RuntimeException::hasErrorLabel
(
string
$errorLabel
):
bool
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
}
MongoDB\Driver\Exception\ConnectionTimeoutException
MongoDB\Driver\Exception\Exception
MongoDB\Driver\Exception
Last updated: Mon, 26 Oct 2026