summaryrefslogtreecommitdiff
path: root/lib/Minz/ControllerNotActionControllerException.php
blob: 1a8e0729cd639b2f45601bd60c6364be5df725a5 (plain)
1
2
3
4
5
6
7
8
9
<?php
class Minz_ControllerNotActionControllerException extends Minz_Exception {
	public function __construct ($controller_name, $code = self::ERROR) {
		$message = 'Controller `' . $controller_name
		         . '` isn\'t instance of ActionController';

		parent::__construct ($message, $code);
	}
}