PHP Classes

File: classes/database/exceptions/ambiguous-column-db-exception.php

Recommend this page to a friend!
  Classes of Gonzalo Chumillas   Ses Query   classes/database/exceptions/ambiguous-column-db-exception.php   Download  
File: classes/database/exceptions/ambiguous-column-db-exception.php
Role: Class source
Content type: text/plain
Description: Custom Exception
Class: Ses Query
Manipulate records retrieved with select queries
Author: By
Last change:
Date: 10 years ago
Size: 501 bytes
 

Contents

Class file image Download
<?php

require_once dirname(dirname(__DIR__)) . "/database/exceptions/db-exception.php";

/**
 * class AmbiguousColumnDBException
 */
class AmbiguousColumnDBException extends DBException {
   
   
/**
     * @param string $column
     * @param int $code = 0
     * @param Exception $previous = NULL
     */
   
public function __construct($column, $code = 0, $previous = NULL) {
       
$message = "The column `$column` is ambiguous";
       
parent::__construct($message, $code, $previous);
    }
}