PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2 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);
    }
}