コード例 #1
0
ファイル: Menu.exceptions.php プロジェクト: stuartherbert/mf
 public function __construct($optionName, Exception $oCause = null)
 {
     parent::__construct(app_l('Menu', 'E_NoSuchOption'), array($optionName), $oCause);
 }
コード例 #2
0
ファイル: App.exceptions.php プロジェクト: stuartherbert/mf
 public function __construct(Exception $oCause)
 {
     parent::__construct(500, 1, app_l('App', 'E_INTERNAL_SERVER_ERROR'), array(), $oCause);
 }
コード例 #3
0
ファイル: Theme.exceptions.php プロジェクト: stuartherbert/mf
 public function __construct($layout, Exception $oCause = null)
 {
     parent::__construct(app_l('Theme', 'E_NoSuchLayout'), array($layout), $oCause);
 }
コード例 #4
0
 function __construct($url, Exception $oCause = null)
 {
     parent::__construct(app_l('Routing', 'E_NoMatchingRoute'), array($url), $oCause);
 }
コード例 #5
0
 function __construct($modelName, $view, Exception $oCause = null)
 {
     parent::__construct(app_l('DataModel', 'E_NoSuchView'), array($view, $modelName), $oCause);
 }
コード例 #6
0
 function __construct($msg, Exception $oCause = null)
 {
     parent::__construct(app_l('Datastore', 'E_UpdateFailed'), array($msg), $oCause);
 }
コード例 #7
0
ファイル: Page.exceptions.php プロジェクト: stuartherbert/mf
 public function __construct(Page_Component $origin, $outputFormat, Exception $oCause = null)
 {
     parent::__construct(app_l('Page', 'E_OutputFormatNotSupported'), array(get_class($origin), $outputFormat), $oCause);
 }