1 <?php
2 /**
3 * @copyright Copyright © 2amigOS! Consulting Group 2013-
4 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
5 * @package foundation.components
6 * @version 1.0.0
7 */
8 namespace foundation\exception;
9 /**
10 * InvalidConfigException represents an exception caused by incorrect object configuration.
11 *
12 * @author Antonio Ramirez <amigo.cobos@gmail.com>
13 * @package foundation\exception
14 */
15 class InvalidConfigException extends \Exception
16 {
17 /**
18 * @return string the user-friendly name of this exception
19 */
20 public function getName()
21 {
22 return \Yii::t('yii', 'Invalid Configuration');
23 }
24 }