Exception classesInhaltsverzeichnis
The MongoDB\Driver\Exception\AuthenticationException classEinführungThrown when the driver fails to authenticate with the server. KlassenbeschreibungMongoDB\Driver\Exception\AuthenticationException
class MongoDB\Driver\Exception\AuthenticationException
extends
MongoDB\Driver\Exception\ConnectionException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\BulkWriteException classEinführungThrown when a bulk write operation fails. KlassenbeschreibungMongoDB\Driver\Exception\BulkWriteException
class MongoDB\Driver\Exception\BulkWriteException
extends
MongoDB\Driver\Exception\WriteException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
MongoDB\Driver\WriteResult
$writeResult
;
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public MongoDB\Driver\WriteResult MongoDB\Driver\Exception\WriteException::getWriteResult
( void
)
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\ConnectionException classEinführungBase class for exceptions thrown when the driver fails to establish a database connection. KlassenbeschreibungMongoDB\Driver\Exception\ConnectionException
class MongoDB\Driver\Exception\ConnectionException
extends
MongoDB\Driver\Exception\RuntimeException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\ConnectionTimeoutException classEinführungThrown when the driver fails to establish a database connection within a specified time limit (e.g. » connectTimeoutMS). KlassenbeschreibungMongoDB\Driver\Exception\ConnectionTimeoutException
class MongoDB\Driver\Exception\ConnectionTimeoutException
extends
MongoDB\Driver\Exception\ConnectionException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\Exception interfaceEinführungCommon interface for all driver exceptions. This may be used to catch only exceptions originating from the driver itself. KlassenbeschreibungMongoDB\Driver\Exception\Exception
class MongoDB\Driver\Exception\Exception
{
}The MongoDB\Driver\Exception\ExecutionTimeoutException classEinführungThrown when a query or command fails to complete within a specified time limit (e.g. » maxTimeMS). KlassenbeschreibungMongoDB\Driver\Exception\ExecutionTimeoutException
class MongoDB\Driver\Exception\ExecutionTimeoutException
extends
MongoDB\Driver\Exception\RuntimeException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\InvalidArgumentException classEinführungThrown when a driver method is given invalid arguments (e.g. invalid option types). KlassenbeschreibungMongoDB\Driver\Exception\InvalidArgumentException
class MongoDB\Driver\Exception\InvalidArgumentException
extends
InvalidArgumentException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\LogicException classEinführungThrown when the driver is incorrectly used (e.g. rewinding a cursor). KlassenbeschreibungMongoDB\Driver\Exception\LogicException
class MongoDB\Driver\Exception\LogicException
extends
LogicException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\RuntimeException classEinführungThrown when the driver encounters a runtime error (e.g. internal error from » libmongoc). KlassenbeschreibungMongoDB\Driver\Exception\RuntimeException
class MongoDB\Driver\Exception\RuntimeException
extends
RuntimeException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\SSLConnectionException classEinführungThrown when the driver fails to establish an SSL connection with the server. KlassenbeschreibungMongoDB\Driver\Exception\SSLConnectionException
class MongoDB\Driver\Exception\SSLConnectionException
extends
MongoDB\Driver\Exception\ConnectionException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\UnexpectedValueException classEinführungThrown when the driver encounters an unexpected value (e.g. during BSON serialization or deserialization). KlassenbeschreibungMongoDB\Driver\Exception\UnexpectedValueException
class MongoDB\Driver\Exception\UnexpectedValueException
extends
UnexpectedValueException
implements
MongoDB\Driver\Exception\Exception
{
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}The MongoDB\Driver\Exception\WriteException classEinführungBase class for exceptions thrown by a failed write operation. The exception encapsulates a MongoDB\Driver\WriteResult object. KlassenbeschreibungMongoDB\Driver\Exception\WriteException
abstract
class MongoDB\Driver\Exception\WriteException
extends
MongoDB\Driver\Exception\RuntimeException
implements
MongoDB\Driver\Exception\Exception
{
/* Eigenschaften */
protected
MongoDB\Driver\WriteResult
$writeResult
;
/* Geerbte Eigenschaften */
protected
string
$message
;
protected
int
$code
;
protected
string
$file
;
protected
int
$line
;
/* Methoden */
final public MongoDB\Driver\WriteResult getWriteResult
( void
)
/* Geerbte Methoden */
final public string Exception::getMessage
( void
)
final public Exception Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}Eigenschaften
|