<?php
/**
 * FIT FileIOException
 *
 * $Id$
 *
 * @author gERD Schaufelberger <gerd@php-tools.net>
 * @package FIT
 * @subpackage FileRunner
 * @license LGPL http://www.gnu.org/copyleft/lesser.html
 */

/**
 * FIT Parser Exception
 *
 * @version 0.1.0
 * @package FIT
 * @subpackage Exception
 */
class PHPFIT_Exception_Parser extends Exception 
{
   
/**
    * context
    * 
    * @var array
    */
    
protected $context;

   
/**
    * constructor
    * 
    * @param string $msg message string
    */
    
public function __construct$msg$table null$row null$column null 
    {
        
$this->message  $msg;
        
$this->context  = array( $table$row$column );
    }
    
   
/**
    * receive context
    *
    * @return array $context information
    */
    
public function getContext()
    {
        return 
$this->context;
    }
}
?>