php[tek] 2018 : Call for Speakers

The MongoDB\Driver\Exception\WriteException class

(mongodb >= 1.0.0)

はじめに

Base class for exceptions thrown by a failed write operation. The exception encapsulates a MongoDB\Driver\WriteResult object.

クラス概要

abstract MongoDB\Driver\Exception\WriteException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception {
/* プロパティ */
protected MongoDB\Driver\WriteResult $writeResult ;
/* 継承したプロパティ */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* メソッド */
final public MongoDB\Driver\WriteResult 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 )
}

プロパティ

writeResult

The MongoDB\Driver\WriteResult associated with the failed write operation.

目次

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top