<?php
/**
* This file is part of the Nella Framework (http://nellafw.org).
*
* Copyright (c) 2006, 2012 Patrik VotoÄek (http://patrik.votocek.cz)
*
* This source file is subject to the GNU Lesser General Public License. For more information please see http://nellacms.com
*/
namespace Nella\Model;
/**
* Empty value exception
*
* @author Patrik VotoÄek
*/
class EmptyValueException extends Exception
{
/** @var string */
private $column;
/**
* @param string
* @param string
*/
public function __construct($message, $column = NULL, \Exception $parent = NULL)
{
parent::__construct($message, 0, $parent);
$this->column = $column;
}
/**
* @return column
*/
public function getColumn()
{
return $this->column;
}
}