Login   Register  
PHP Classes
elePHPant
Icontem

File: DATA/NotNullable.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martin Alterisio  >  DATA  >  DATA/NotNullable.php  >  Download  
File: DATA/NotNullable.php
Role: Class source
Content type: text/plain
Description: An exception thrown when trying to null a not nullable sql field.
Class: DATA
Access data stored in MySQL tables like arrays
Author: By
Last change: + anonymous access
Date: 6 years ago
Size: 338 bytes
 

Contents

Class file image Download
<?php
/**
 * @package DATA
 */

/**
 * An exception thrown when trying to null a not nullable sql field.
 */
class DATA_NotNullable extends DATA_SQLTypeConstraintFailed {
    
/**
     * Constructor.
     */
    
public function __construct() {
        
parent::__construct("SQL field cannot hold a null value");
    }
}
?>