for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wikibase\Database\Exception;
use Exception;
/**
* @since 0.1
* @licence GNU GPL v2+
* @author Jeroen De Dauw < [email protected] >
*/
class DeleteFailedException extends QueryInterfaceException {
* @var string
private $tableName;
* @var array
private $conditions;
* @param string $tableName
* @param array $conditions
* @param string $message
* @param Exception $previous
public function __construct(
$tableName,
array $conditions,
$message = '',
Exception $previous = null
) {
parent::__construct( $message, 0, $previous );
$this->tableName = $tableName;
$this->conditions = $conditions;
}
* @return string
public function getTableName() {
return $this->tableName;
* @return array
public function getConditions() {
return $this->conditions;