1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8namespace Tracker\Tabular\Exception; 9 10class ModeNotSupported extends Exception 11{ 12 private $mode; 13 private $permName; 14 15 function __construct($permName, $mode) 16 { 17 parent::__construct(tr('Field mode not found: %0 for %1', $mode, $permName)); 18 $this->mode = $mode; 19 $this->permName = $permName; 20 } 21} 22